Improve synonyms storage
The synonyms storage system has been enhanced for better performance and efficiency.
✨ Enhancement
- Improve the synonyms storage by @Kerollmops in #6466
We improve synonyms' performance by changing how we store and retrieve them during query processing. Users may have experienced performance issues when the number of synonyms in an index was high, resulting in a significant impact on search performance. The Meilisearch support team advised moving the settings and synonyms-as-keywords to the dedicated documents. This is no longer an issue; synonyms are loaded lazily, only when a word matches a synonym. You can see performance improvements of up to 13x, depending on the number of synonyms.
🔩 Miscellaneous
- Fix the workflow after broken ranking scores by @Kerollmops in #6470
- Make OpenAPI rule less strict for routes returning 202 by @curquiza in #6488
Source: original entry ↗
More from Meilisearch
Follow Meilisearch to get its new changes in your feed and email digest.
v1.55.0: Dynamic search rule preview and facet performance details
Added support for inline dynamic search rules that preview rule effects on individual queries, and enhanced performance details to show facet distribution computation timing. The inlineRule parameter allows applying temporary rule overrides during search without persisting them, useful for preview UIs.
Avoid panic in highlighting with safer indexing
Replaced unsafe bracket indexing with get method and added None recovery in the highlighting logic to prevent panics. This improves stability when processing edge cases in search result highlighting.
Support edge case with 4G+ rules in DSR index
Added support for an edge case where the DSR index contains four or more rules, improving stability for complex rule configurations.