Result Grouping #531
anthonycook
started this conversation in
Feedback & Feature Proposal
Replies: 1 comment 2 replies
-
Hi @anthonycook 👋 I have some questions that may help us to know more about your needs. What do you expect in terms of response using a group by clause? Is there a need to determine it on the fly at search time? There are the Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Problem
Here is an example of an e-commerce search that has multiple variations of a product:
If I was to perform a search for "iPhone", it would return all of the results which in this example is over 16 variants, currently I believe there is no way to group these into one result.
How Others Approach This
In SQL we could use GROUP BY and Apache Solr archives this with FeildCollapsing and the groupValue field (see here)
I can think of many applications where grouping would be needed, like customer activity logs where say we want to group by email address etc.
Beta Was this translation helpful? Give feedback.
All reactions