Add support to the facet setting customization at the index level
Closed this issue · 1 comments
brunoocasali commented
Also, if you are a maintainer, please add any clarification and instructions about this issue.
Related to:
- parent issue: meilisearch/integration-guides#205
- engine issue: meilisearch/specifications#157, meilisearch/meilisearch#2368
Add a faceting
index settings resource to manage customization of the maximum value per facet.
- Expose
faceting
object on/indexes/:index_uid/settings
endpoints. - Add
GET/PATCH/DELETE
-/indexes/:index_uid/settings/faceting
endpoints.
The faceting
object definition is made of the following properties:
maxValuesPerFacet
type (int
)
More information about what each field does could be checked in the spec.
Check the other customization methods for reference like: synonyms
, searchableAttributes
, filterableAttributes
.
TODO:
- Add the new methods to customize
faceting
- GET
/indexes/:index_uid/settings/faceting
- PATCH
/indexes/:index_uid/settings/faceting
- DELETE
/indexes/:index_uid/settings/faceting
- GET
- Add tests