Re: Parallelizing queries without Custom Component

2018-01-15 Thread Mikhail Khludnev
It's also can be done with {!join .. score=max}... but this join is usually slow on big indices. On Mon, Jan 15, 2018 at 7:27 PM, Max Bridgewater wrote: > Hi, > > My index is composed of product reviews. Each review contains the id of the > product it refers to. But it also contains a rating for

Re: Parallelizing queries without Custom Component

2018-01-15 Thread Max Bridgewater
Thanks Emir. Looks indeed like what I need. On Mon, Jan 15, 2018 at 11:33 AM, Emir Arnautović < emir.arnauto...@sematext.com> wrote: > Hi Max, > It seems to me that you are looking for grouping > https://lucene.apache.org/solr/guide/6_6/result-grouping.html < > https://lucene.apache.org/solr/guid

Re: Parallelizing queries without Custom Component

2018-01-15 Thread Emir Arnautović
Hi Max, It seems to me that you are looking for grouping https://lucene.apache.org/solr/guide/6_6/result-grouping.html or field collapsing https://lucene.apache.org/solr/guide/6_6/collapse-and-expand-results.html

Parallelizing queries without Custom Component

2018-01-15 Thread Max Bridgewater
Hi, My index is composed of product reviews. Each review contains the id of the product it refers to. But it also contains a rating for this product and the number of negative feedback provided on this product. { id: solr doc id, rating: number between 0 and 5, product_id: the product th