You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn/relevancy/ranking_rules.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ Depending on your needs, you might want to change this order. To do so, use the
29
29
30
30
Results are sorted by **decreasing number of matched query terms**. Returns documents that contain all query terms first.
31
31
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
+
32
34
<Note>
33
35
The `words` rule works from right to left. Therefore, the order of the query string impacts the order of results.
0 commit comments