Skip to content

Commit f6f78bb

Browse files
Update words ranking rule behaviour (#3370)
1 parent 1d619cc commit f6f78bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

learn/relevancy/ranking_rules.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Depending on your needs, you might want to change this order. To do so, use the
2929

3030
Results are sorted by **decreasing number of matched query terms**. Returns documents that contain all query terms first.
3131

32+
To ensure optimal relevancy, **Meilisearch always sort results as if the `words` ranking rule were present** with a higher priority than the attributes, exactness, typo and proximity ranking rules. This happens even if `words` has been removed or set with a lower priority.
33+
3234
<Note>
3335
The `words` rule works from right to left. Therefore, the order of the query string impacts the order of results.
3436

0 commit comments

Comments
 (0)