Skip to main content
The /facet-search route allows you to search for facet values. Facet search supports prefix search and typo tolerance. The returned hits are sorted lexicographically in ascending order.
Meilisearch does not support facet search on numbers. Convert numeric facets to strings to make them searchable.Internally, Meilisearch represents numbers as float64. This means they lack precision and can be represented in different ways, making it difficult to search facet values effectively.
Search for a facet value within a given facet.
POST
/indexes/{index_uid}/facet-search
This endpoint will not work without first explicitly adding attributes to the filterableAttributes list. Learn more about facets in our dedicated guide.
Meilisearch’s facet search does not support multi-word facets and only considers the first term in thefacetQuery.For example, searching for Jane will return Jane Austen, but searching for Austen will not return Jane Austen.

Body

Response

Example

Response: 200 Ok