You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ This issue is generated, it means the examples and the namings do not necessarily correspond to the language of this repository.
Also, if you are a maintainer, please add any clarification and instructions about this issue.
Sorry if this is already wholly/partially implemented. Feel free to let me know about the state of this issue in the repo.
Users of bigger datasets could have difficulty interacting with vast lists of facets data since, until today, it was not possible to search on them.
To introduce this feature into the SDKs, we must:
Create a new method called facetSearch(facetSearchQuery)/facet_search(facetSearchQuery)
Besides all the other parameters that a regular SearchQuery can take. The new FacetSearchQuery can take a facetName, facetQuery, filter, q, matchingStrategy.
Params definition:
facetName:
type: stringrequired: trueexample: '"genres"'facetQuery:
type: stringexample: '"Horror"'q:
type: stringdefault: '""'example: '"Back to the future"'matchingStrategy:
type: stringdefault: 'last'filter: // https://www.meilisearch.com/docs/learn/fine_tuning_results/filteringtype: arrayexample: '"groupId = 1 AND genre = adventure"'
TODO:
Add the new method facetSearch
Add integration tests
The text was updated successfully, but these errors were encountered:
Also, if you are a maintainer, please add any clarification and instructions about this issue.
Sorry if this is already wholly/partially implemented. Feel free to let me know about the state of this issue in the repo.
Related to meilisearch/integration-guides#280
New implementation
Related to:
Users of bigger datasets could have difficulty interacting with vast lists of facets data since, until today, it was not possible to search on them.
To introduce this feature into the SDKs, we must:
Create a new method called
facetSearch(facetSearchQuery)
/facet_search(facetSearchQuery)
Besides all the other parameters that a regular
SearchQuery
can take. The newFacetSearchQuery
can take afacetName
,facetQuery
,filter
,q
,matchingStrategy
.Params definition:
TODO:
facetSearch
The text was updated successfully, but these errors were encountered: