If I understand the reading, you've suggested that I index the vendor names as their own document (currently this is a multi-valued field of each document).
Each such "vendor document" would just have a single valued 'name' field. Each normal product document would contain a multi-valued field that is a list of "vendor document IDs" and that we use to join the query results with the vendor documents. I presume this means that I would have some kind of dynamic field created from the join which I could use as the 'group.field' value? I didn't quite follow the last point. -----Original Message----- From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] Sent: Friday, January 18, 2013 9:34 AM To: solr-user@lucene.apache.org Subject: Re: Field Collapsing - Anything in the works for multi-valued fields? Hi, Instead of the multi-valued fields, would parent-child setup for you here? See http://search-lucene.com/?q=solr+join&fc_type=wiki Otis -- Solr & ElasticSearch Support http://sematext.com/ On Thu, Jan 17, 2013 at 8:04 PM, David Parks <davidpark...@yahoo.com> wrote: > The documents are individual products which come from 1 or more vendors. > Example: a 'toy spiderman doll' is sold by 2 vendors, that is 1 document. > Most fields are multi valued (short_description from each of the 2 > vendors, long_description, product_name, vendor, etc. the same). > > I'd like to collapse on the vendor in an attempt to ensure that vast > collections of books, music, and movies, by just a few vendors, don't > overwhelm the results simply due to the fact that they have every > search term imaginable due to the sheer volume of books, CDs, and > DVDs, in relation to other product items. > > But in this case there is clearly 1...N vendors per document, solidly > a multi-valued field. And it's hard to put a maximum number of vendors > possible. > > Thanks, > Dave > > > -----Original Message----- > From: Mikhail Khludnev [mailto:mkhlud...@griddynamics.com] > Sent: Friday, January 18, 2013 2:32 AM > To: solr-user > Subject: Re: Field Collapsing - Anything in the works for multi-valued > fields? > > David, > > What's the documents and the field? It can help to suggest workaround. > > > On Thu, Jan 17, 2013 at 5:51 PM, David Parks <davidpark...@yahoo.com> > wrote: > > > I want to configure Field Collapsing, but my target field is > > multi-valued (e.g. the field I want to group on has a variable # of > > entries per document, 1-N entries). > > > > I read on the wiki (http://wiki.apache.org/solr/FieldCollapsing) > > that grouping doesn't support multi-valued fields yet. > > > > Anything in the works on that front by chance? Any common work-arounds? > > > > > > > > > -- > Sincerely yours > Mikhail Khludnev > Principal Engineer, > Grid Dynamics > > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com> > >