-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add rank threshold #582
Add rank threshold #582
Conversation
Is it necessary to enforce the threshold range of |
search_parameter_reference_ranking_score_threshold_1: |- | ||
var params = new SearchQuery() | ||
{ | ||
RankingScoreThreshold = 0.2M |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.code-samples.meilisearch.yaml
Outdated
{ | ||
RankingScoreThreshold = 0.2M | ||
}; | ||
await client.Index("INDEX_NAME").SearchAsync<T>("badman", params); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the "no new line" at the end of the line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we follow the editorconfig rules
Looks like there is an issue with the lining (cf CI) Can you fix this test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
thank you
bors merge
Build succeeded:
|
Pull Request
Related issue
Fixes #544
What does this PR do?
RankingScoreThreshold
SearchQuery
parameter.PR checklist
Please check if your PR fulfills the following requirements: