Grouping on multivalued fields. Alternative approaches?

2015-03-03 Thread Darin Amos
Hi All, I have read over and over that SOLR still does not support grouping on multivalued fields, however I have a requirement in which grouping on multi valued fields is the perfect solve for. Has anyone ever worked on a 3rd party library to do this, or is there any alternative ways to do

grouping of multivalued fields

2014-05-21 Thread Thomas Scheffler
Hi, I have a special case of grouping multivalued fields and I wonder if this is possible with SOLR. I have a field foo that is generally multivalued. But for a restricted set of documents this field has one value or is not present. So normally grouping should work. Sadly SOLR is failing

Re: grouping of multivalued fields

2014-05-21 Thread Joel Bernstein
On Wed, May 21, 2014 at 8:56 AM, Thomas Scheffler thomas.scheff...@uni-jena.de wrote: Hi, I have a special case of grouping multivalued fields and I wonder if this is possible with SOLR. I have a field foo that is generally multivalued. But for a restricted set of documents this field has one

Re: grouping of multivalued fields

2014-05-21 Thread Thomas Scheffler
Am 21.05.2014 15:07, schrieb Joel Bernstein: You may want to investigate the group.func option. This would allow you to plug in your own logic to return the group by key. I don't think there is an existing function that does exactly what you need so you may have to write a custom function. I