New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter by score #4609
Comments
Hello 👋 A prototype is available for filtering by ranking score! Getting the prototypeYou need to start from a fresh new database (remove the previously used
Using the prototypeThe prototype adds a new optional parameter to search requests: The During the search, any set of results whose Warning For performance reasons, the current implementation does not always return correct values for ExplanationWhen the `limit` number of results is reached, then the algorithm stops without computing the `_rankingScore` for the remaining, unreturned documents. As a result, Meilisearch cannot determine if the remaining documents meet the threshold or not. The current behavior is to keep the remaining documents in the set of possible candidates. This means that increasing `limit` or requesting the next page can result in a decrease in `totalHits` and `estimatedTotalHits` (as well as the number of pages). Fixing this limitation involves computing the results exhaustively, which is going to be very performance-intensive and difficult to achieve at all for vector sort.We're looking for feedback on this prototype, especially on the limitations stated above. Caution We do not recommend using this prototype in production. This is only for test purposes. |
Related product team resources: PRD (internal only)
Motivation
Required by users
Usage
Filter by score
https://meilisearch.notion.site/Filter-by-score-usage-224a183ce7b24ca99b6a9a8da755668a?pvs=74
TODO
Reminders when modifying the Setting API
test_setting_routes
macro/settings/my-new-setting
configurated in themake_setting_routes
macro/settings
route configurated in theupdate_all
function/settings
route serializing, e.g., enums case can be different (camelCase
in route andPascalCase
in the dump)Special cases when adding a setting for an experimental feature
Unset
when returned from the index in this situation. See an example)validate_settings
function)Impacted teams
@meilisearch/integration-team @meilisearch/docs-team
The text was updated successfully, but these errors were encountered: