-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat: add rankingScoreThreshold
to searchGet
#1673
feat: add rankingScoreThreshold
to searchGet
#1673
Conversation
@@ -125,9 +125,9 @@ export type SearchParams = Query & | |||
vector?: number[] | null; | |||
showRankingScore?: boolean; | |||
showRankingScoreDetails?: boolean; | |||
rankingScoreThreshold?: number; |
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.
Just grouping the rankingScore
stuff here for readibility :)
@@ -483,11 +483,34 @@ describe.each([ | |||
|
|||
test(`${permission} key: search without vectors`, async () => { | |||
const client = await getClient(permission); | |||
const response = await client.index(index.uid).search('prince', {}); | |||
const response = await client.index(index.uid).searchGet('prince', {}); |
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.
Fixing a bad testing introduced earlier 🙈
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.
thank you! I missed it!
Pull Request
Related issue
Related to #1665
What does this PR do?
rankingScoreThreshold
tosearchGet
+ add related testPR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!