New Features
Preview the effect of a dynamic search rule
You can now apply an inline-specified dynamic search rule to a search query without saving it permanently. This lets you test how a rule would affect search results before deploying it. ThePOST /indexes/{:indexUid}/search and POST /multi-search endpoints now accept an optional inlineRule parameter in the search query object. When provided, Meilisearch will apply the rule’s actions to that specific search as if it had been saved.
When you include the Meili-Include-Metadata: true header, the response’s metadata will show whether the inline rule’s conditions were satisfied and why (if not).
Note: This feature requires Meilisearch Enterprise Edition and the dynamicSearchRules experimental feature.
Example: Apply a user-specific rule to boost Batman movies
Improvements
Better performance tracking for facet distribution
TheperformanceDetails in search responses now includes timing information for facet distribution computation. When you set showPerformanceDetails to true, you’ll see separate entries for:
compute facet distribution: Time spent computing facet countscompute facet stats: Time spent computing facet statisticsfacet distribution: Total time for all facet-related operations
Other
Fixed ranking score threshold performance
Meilisearch now stops searching immediately after finding the first document below therankingScoreThreshold, rather than continuing to evaluate additional documents. This significantly improves search performance when using this parameter.
Note: This fix may change result ordering in some cases, as allowed by our compatibility policy.
Breaking change: Binary quantization cannot be disabled
If your embedder is configured with binary quantization, you can no longer disable it by passingbinaryQuantization: null in an embedder settings update. Doing so now returns an error. Binary quantization is permanent for an index because the exact embedding values cannot be recovered after quantization.
Find more information on GitHub