Re: Rerank queries and grouping

2015-07-16 Thread Diego Ceccarelli
Hi Joel, Thanks for your reply, Yes, I considered the Collapse and Expand [1] , the problem is that I'll deploy it on a multishard instance and I want to retrieve the top N groups. I thing that collapse and expand could have two downsides: i) it won't guarantee the retrieval of N groups, I could

Re: Rerank queries and grouping

2015-07-15 Thread Joel Bernstein
As you've seen RankQueries won't currently have any effect on Grouping queries. A RankQuery can be combined with Collapse and Expand though. You may want to review Collapse and Expand and see if it meets your use case. Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Jul 15, 2015 at 2:36 PM,

Rerank queries and grouping

2015-07-15 Thread Diego Ceccarelli
Hi Everyone, I need to use a RankQuery within a grouping [1]. I did some experiments with RerankQuery [2] and solr 4.10.2 and it seems that if you group on a field, the reranking query is completely ignored (on the cloud, and on a single instance). I would expect to see the results in each group