New Features
AI-powered search improvements
Meilisearch v1.11 introduces several changes to AI-powered search as part of stabilization efforts:- Binary quantization for embeddings: Enable the new
binaryQuantizedoption to convert floating-point embeddings into boolean values. This significantly improves performance and reduces database size (up to 10x reduction and 6x faster indexing) but impacts relevancy. This option cannot be reverted once enabled.
-
Document template improvements: The
documentTemplatefield now includes a newfield.is_searchableproperty. The default template now filters out empty fields and non-searchable attributes for better embedding quality. -
New embedder option:
documentTemplateMaxBytesallows you to truncate document template text when it exceeds a specified byte limit. -
Updated default OpenAI model: The default embedding model is now
text-embedding-3-smallinstead oftext-embedding-ada-002.
Federated search enhancements
Two new federated search options have been added to support facet queries:facetsByIndex: Request facet distribution and stats for each index separately in federated searches
mergeFacets: Merge facet data from multiple indexes into a single result set
Experimental STARTS WITH filter operator
A new experimentalSTARTS WITH filter operator is available. Enable it through experimental features:
Language support improvements
- Added ISO-639-1 language variants and automatic conversion to ISO-639-3
- New German language tokenizer
- Improved Turkish language support
- Fixed Swedish character normalization so
å,ä, andöare no longer normalized
Improvements
- Improved error handling when using
query.facetswith federated search (now returns appropriate error instead of silently ignoring the parameter) - Fixed facet value truncation to correctly apply
maxValuesPerFacetlimits - Improved task cancellation when vectors are used
- Better timeout handling for embedding requests during search (3s timeout added)
- Added timeouts to read and write operations
- Retry logic added for deserialization failures in remote embedding providers (REST/OpenAI/ollama)
- Improved vector display when no custom vectors were provided
- Updated Rhai to fix errors when updating documents with functions
- Batch failed logs now appear at error level
- Removed forced capitalization in search UI fields
Other
Breaking changes
- When performing AI-powered searches,
hybrid.embedderis now mandatory inGETandPOST/indexes/{:indexUid}/search hybridmust now be passed even for pure semantic searchesembedderis now mandatory inGETandPOST/indexes/{:indexUid}/similarsemanticRatiois ignored for queries that includevectorbut notq(performs pure semantic search instead)- When using federated search,
query.facetsat the query level now returns an error instead of being silently ignored. Usefederation.facetsByIndexinstead.