Ranking rules should not do any work when only one bucket candidate exists #3124
Labels
milli
Related to the milli workspace
performance
Related to the performance in term of search/indexation speed or RAM/CPU/Disk consumption
v1.2.0
PRs/issues solved in v1.2.0 released on 2023-06-05
Milestone
As explained in the Meilisearch documentation and in this issue, the role of a ranking rule is to sort search results by their relevancy. Each ranking rule narrows down a list of documents until just a few equally relevant documents remain.
It is quite common for a ranking rule to narrow down a list of documents into just one document. If that happens, there is no need to give this document to any other ranking rule, since there is nothing left to sort. However, this easy optimisation is not yet implemented.
The text was updated successfully, but these errors were encountered: