-
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
Add the searchForFacetValues method for Meilisearch v1.3.0 #1513
Add the searchForFacetValues method for Meilisearch v1.3.0 #1513
Conversation
54da022
to
1ea1f67
Compare
1ea1f67
to
75d7f34
Compare
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.
LGTM ✨🦕
…et-values.0) (#1514) * Update package.json * Update src/package-version.ts
…cet-values.1) (#1515) * Update package.json * Update src/package-version.ts --------- Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com>
Co-authored-by: Bruno Casali <brunoocasali@gmail.com>
…search-for-facet-values
7556d75
to
675ea17
Compare
675ea17
to
969b509
Compare
facetHits: FacetHit[] | ||
facetQuery: string | null | ||
processingTimeMs: 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.
Is this only these 3 keys that will be responded?
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.
Yes!
{
facetHits: [ { value: 'adventure', count: 1 } ],
facetQuery: 'a',
processingTimeMs: 0
}
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.
LGTM 🧇
index.searchForFacetValue
A new method
index.searchForFacetvalue
method is introduced.See explanation on this method here.
related PR
Usage example: