Runtime filterable distinctAttributes #587
Closed
ilionic
started this conversation in
Feedback & Feature Proposal
Replies: 2 comments 1 reply
-
Hello @ilionic 👋 It seems to be related to #414. Am I right? Please let me know so that I can centralize both discussions. Thank you! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Closing as defining distinct attributes at search time has been implemented in v1.9 🦎 Happy searching ✨ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
At the moment it's only possible to set
distinctAttributes
as an index setting.Solution / Use cases
To make
distinctAttributes
work as a filter / query similar to SQLdistinct_on
ordistinct
override in AlgoliaThere are many use cases, for example in e-commerce to have bundles of limited edition products in one view ( with "hide copies" filter enabled ) OR having full list of items ( with "hide copies" disabled ).
Beta Was this translation helpful? Give feedback.
All reactions