-
Notifications
You must be signed in to change notification settings - Fork 268
Milestone
Description
The new facet
search parameter (previously facetsDistribution
) will now return a maximum of 100 facets per query by default. The main reasons for this are usability—a query returning a huge number of facets (e.g. 1000) can be difficult to handle properly—and performance—a query returning thousands of facets is likely to be much heavier than it otherwise should.
v0.28 will have a new index setting, faceting
. faceting
will contain a settings object with one field, maxValuesPerFacet
, which accepts an integer and defaults to 100
.
faceting
will be availabe in the main settings object and its own API route with GET
, PATCH
and DELETE
endpoints.
References
spec: meilisearch/specifications#157
issue on core: meilisearch/meilisearch#2368
SME: @Kerollmops
Metadata
Metadata
Assignees
Labels
No labels