New Features
New OpenAI embedding models
When configuring OpenAI embedders, you can now specify two new models:text-embedding-3-smallwith a default dimension of 1536text-embedding-3-largewith a default dimension of 3072
Custom OpenAI model dimensions
You can configuredimensions for sources using the new OpenAI models: text-embedding-3-small and text-embedding-3-large. Dimensions must be greater than 0 and smaller than the model size:
text-embedding-ada-002. Setting dimensions to any value except the default size of these models will result in an error.
GPU support for Hugging Face embeddings
Activate CUDA to use Nvidia GPUs when computing Hugging Face embeddings. This can significantly improve embedding generation speeds. To enable GPU support through CUDA:- Install CUDA dependencies
- Clone and compile Meilisearch with the
cudafeature:cargo build --release --package meilisearch --features cuda - Launch your freshly compiled Meilisearch binary
- Activate vector search
- Add a Hugging Face embedder
Stabilized showRankingScoreDetails
The showRankingScoreDetails search parameter is now a stable feature. Use it with the /search endpoint to view detailed scores per ranking rule for each returned document:
showRankingScoreDetails is set to true, returned documents include a _rankingScoreDetails field with detailed scoring information for each ranking rule.
Experimental JSON log output
Configure Meilisearch to output logs in JSON format by passingjson to the --experimental-logs-mode command-line option:
--experimental-logs-mode option accepts two values:
human: default human-readable outputjson: JSON structured logs
Experimental /logs/stream and /logs/stderr routes
Two new experimental API routes allow you to manage log output:
Activate the routes using the /experimental-features endpoint:
/logs/stream - Stream logs in real-time:
target: Defines log level and which part of the engine to apply it to. Format:code_part=log_level. Valid log levels:trace,debug,info,warn,error, oroffmode: Acceptsfmt(basic) orprofile(verbose trace)
/logs/stderr - Configure default log output:
target: Defines log level and which part of the engine to apply it to. Format:code_part=log_level. Valid log levels:trace,debug,info,warn,error, oroff
Experimental cluster mode
New experimental feature to change the behavior of Meilisearch to run in a cluster by externalizing the task queue.Improvements
Improved indexing speed and reduced memory usage
- Auto-batch task deletion reduces indexing time
- Hybrid search experimental feature indexing is now more than 10 times faster
- Capped the maximum memory of grenade sorters to reduce memory usage
- Multiple technical improvements to indexing pipeline
- Enhanced facet incremental indexing
- Improved threshold triggering incremental indexing
Improved logging
Log messages now follow a new pattern:Multiple language support improvements
Expanded support for multiple languages, including improved Vietnamese normalization (Ð and Đ are now normalized to d). Updated to Charabia v0.8.7.Additional improvements
- Added content type to webhook requests
- Skip reindexing when modifying unknown faceted fields
- Added timeout to webhook requests
- Enhanced Prometheus experimental feature with job variable in Grafana dashboard