Re: Grouping on a multi-valued field

2014-06-02 Thread Bhoomit Vasani
Hi Erick, Thanks again, I'm using the same thing as workaround. I first use "pivot faceting" and another call to fetch actual documents. On Fri, May 30, 2014 at 9:46 PM, Erick Erickson wrote: > OK, I see what you're trying to do. Unfortunately grouping is just not > built to support multivalu

Re: Grouping on a multi-valued field

2014-05-30 Thread Erick Erickson
OK, I see what you're trying to do. Unfortunately grouping is just not built to support multivalued fields. The nearest thing I can think of is "pivot faceting", but that only returns counts, not the actual documents. Sorry I can't be more help Erick On Fri, May 30, 2014 at 3:44 AM, Bhoomit Vas

Re: Grouping on a multi-valued field

2014-05-30 Thread Bhoomit Vasani
Hi Erick, Thanks for the response. What am I trying to do? : I have a multivalued field called tags for e.g. - { - id: "1", - *tags*:["solr","lucene","facet"], *type*:"post" }, - { - id: "2", - *tags*:["solr","multi-valued","grouping"], *type*:"qu

Re: Grouping on a multi-valued field

2014-05-28 Thread Erick Erickson
what would "grouping on a multivalued field" mean? Count the same doc separately for each value in the MV field? Use the first value? This seems similar to the problem of sorting on fields with more than one token, any approach I can think of will be wrong. But this smells like an XY problem. Wh