We're excited to unveil Meilisearch v1.9. In this article, we’ll review the most impactful changes. For an exhaustive listing, check out the changel

Meilisearch 1.9

submited by
Style Pass
2024-07-02 12:30:08

We're excited to unveil Meilisearch v1.9. In this article, we’ll review the most impactful changes. For an exhaustive listing, check out the changelog on GitHub.

Meilisearch 1.9 allows excluding search results with low ranking scores. When using the new rankingScoreThreshold option, Meilisearch will not return any documents below the defined threshold.

Using the ranking score threshold when implementing hybrid search removes irrelevant results and allows your search analytics to collect the No search results metric properly.

Meilisearch 1.9 adds the ability to define a distinct attribute at search time. Meilisearch will only return one document with the specified attribute value when using the new distinct search parameter.

This feature is commonly used in ecommerce applications. Consider a products index containing multiple variants of the same product, e.g. Blue iPhone 15 and Red iPhone 15 documents that share the same product_id. The API call below will return a single iPhone 15:

Meilisearch 1.9 introduces a new matching strategy to prioritize results that contain occurrences of the least frequent query terms. When using the frequency matching strategy, Meilisearch will deprioritize very common words.

Leave a Comment