meilisearch / meilisearch-js

JavaScript client for the Meilisearch API
https://www.meilisearch.com
MIT License
703 stars 85 forks source link

[v1.9] Distinct attribute at search #1674

Closed curquiza closed 1 week ago

curquiza commented 2 weeks ago

Related to https://github.com/meilisearch/integration-guides/issues/301

Explanation of the feature

Introduction of a new search parameter distinct to apply distinct attribute at search time. The attributes must be filterable (added to filterableAttributes) to be used in distinct

Usage: https://meilisearch.notion.site/Set-distinctAttribute-at-search-usage-947187b312c04616a8ca8ef5bcc5c63c

TODO

⚠️ Make PRs pointing to bump-meilisearch-v1.9.0 and NOT main. Please do 1 PR for all of these changes, and not several.

curquiza commented 1 week ago

Closed by #1676