Hi list, I'd like to be able to present a list of results which are grouped on a single field, but then show various members of each group according to several different criteria. So for example, for e-commerce search, we group at the top level by the vendor, but then show the most expensive item, least expensive item, most heavily discounted item, etc.
I can't find anything that would let me do this in the current grouping code. I'm thinking I'd need to implement a form of TopFieldCollector that maintained multiple sort orders that could be used for the second pass collector, but there doesn't seem to be anywhere to plug that in easily. Is there anything already out there that I'm missing, or do I have to do some actual work? :-) Thanks, Alan