Conversation
…nt, only main (flattened) group values are supported: http://wiki.apache.org/solr/FieldCollapsing
|
Bump :D Would be way cool to see this merged into master. Any thoughts, @tow? |
|
Just a side-note, there's a new feature in Solr 3.4 that I'd also eventually like to roll in, post-grouping facet counts. I plan to get to this by the end of the year, but in the meantime a merge or feedback on a merge on what's here would be super-helpful. |
|
Sorry - have been busy recently! I haven't had a chance to look at this properly; however what would make it much easier for me to check & merge is a) docs and b) tests. I'm aiming to do a big merge & release in the next week or two, but nothing will get pulled in until it's fully documented & tested - there's more chance of something getting in quickly if it comes with docs & tests already attached! |
|
Has anything more happened here? |
|
This is many years old, but did anybody ever pursue this PR? @divideby0 do you have a fork somewhere with this? |
Solr 3.3 added support for result grouping such that results can be returned hierarchically grouped by a common field value like so:
This functionality is particularly useful in retail searching where there are a number of "SKU"s (Red Mens Small, Blue Womens Medium) under a particular "product" (Awesome T-shirt #4).
I added support for this functionality to sunburnt such that you can call:
and get back a list of groupings as resp.result.groups:
which yields:
A screencast detailing the enhancements and usage will be made available shortly.