Skip to content

v0.28: New faceting index setting #1704

@guimachiavelli

Description

@guimachiavelli

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

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions