meilisearch / documentation

Meilisearch documentation

Home Page:https://docs.meilisearch.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v1.8: `sortFacetValuesBy` affects `/facet-search`

guimachiavelli opened this issue · comments

Previously, /facet-search was not affected by sortFacetValuesBy. The docs team was not aware of this, as it is heavily implied in the current documentation /facet-search results will be affected by that index setting.

Tasks

  • Maybe update /facet-search API reference—might not be necessary

References

Unless you have any specific requests, @curquiza, I don't think we need to update the docs for this. As I mentioned in the original issue text, the docs team assumed sortFacetValuesBy affected /facet-search and say so pretty explicitly in the API reference:

The returned hits are sorted lexicographically in ascending order. You can configure how facets are sorted using the sortFacetValuesBy property of the faceting index settings.

Closing, but do reopen if you disagree.