Activating experimental features
Experimental features fall into two groups based on how they are activated or deactivated:- Those that are activated at launch with a command-line flag or environment variable
- Those that are activated with the /experimental-featuresAPI route.
Activating experimental features at launch
Some experimental features can be activated at launch, for example with a command-line flag:--experimental. Environment variables for experimental features are always prefixed with MEILI_EXPERIMENTAL.
Activating or deactivating experimental features this way requires you to relaunch Meilisearch.
Activating experimental features during runtime
Some experimental features can be activated via an HTTP call using the/experimental-features API route:
Current experimental features
| Name | Description | How to configure | 
|---|---|---|
| Limit task batch size | Limits number of tasks processed in a single batch | CLI flag or environment variable | 
| Log customization | Customize log output and set up log streams | CLI flag or environment variable, API route | 
| Metrics API | Exposes Prometheus-compatible analytics data | CLI flag or environment variable, API route | 
| Reduce indexing memory usage | Optimizes indexing performance | CLI flag or environment variable | 
| Replication parameters | Alters task processing for clustering compatibility | CLI flag or environment variable | 
| Search queue size | Configure maximum number of concurrent search requests | CLI flag or environment variable | 
| CONTAINSfilter operator | Enables usage of CONTAINSwith thefiltersearch parameter | API route | 
| Edit documents with function | Use a RHAI function to edit documents directly in the Meilisearch database | API route | 
| /networkroute | Enable /networkroute | API route | 
| Dumpless upgrade | Upgrade Meilisearch without generating a dump | API route | 
| Composite embedders | Enable composite embedders | API route | 
| Search query embedding cache | Enable a cache for search query embeddings | CLI flag or environment variable | 
| Uncompressed snapshots | Disable snapshot compaction | CLI flag or environment variable | 
| Maximum batch payload size | Limit batch payload size | CLI flag or environment variable | 
| Multimodal search | Enable multimodal search | API route | 
| Disable new indexer | Use previous settings indexer | CLI flag or environment variable | 
| Experimental vector store | Enables index setting to use experimental vector store | API route |