I believe the underlying grouping module is now technically able to do this, because subclasses of the abstract first/second pass grouping collectors are free to decide what type/value the "group key" is.
But, we have to fix Solr to allow for compound keys by creating the necessary concrete subclasses. Mike McCandless http://blog.mikemccandless.com On Wed, Jul 6, 2011 at 6:22 AM, Rih <tanrihae...@gmail.com> wrote: > Have the same requirement. What is your workaround for this? > > > On Thu, May 12, 2011 at 7:40 AM, arian487 <akarb...@tagged.com> wrote: > >> I'm wondering if there is a way to get the field collapsing to collapse on >> multiple things? For example, is there a way to get it to collapse on a >> field (lets say 'domain') but ALSO something else (maybe time or >> something)? >> >> To visualize maybe something like this: >> >> Group1 has common field 'www.forum1.com' and ALSO the posts are all from >> may >> 11 >> Group2 has common field 'www.forum2.com' and ALSO the posts are all from >> may >> 11 >> . >> . >> . >> GroupX has common field 'www.forum1.com' and ALSO the posts from may 12 >> >> So obviously it's still sorted by date but it won't group the >> 'www.forum1.com' things together if the document is from a different date, >> it'll group common date AND common domain field. >> >> Thanks! >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Field-collapsing-on-multiple-fields-and-or-ranges-tp2929793p2929793.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >