Re: collapsing on a filter query

2016-05-26 Thread Joel Bernstein
No need for a new thread. Yes, there can only be one ranking collector. I believe the effect of having two rq's is that one would simply be ignored as you mentioned. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, May 26, 2016 at 11:21 AM, aanilpala wrote: > thanks, it indeed works that w

Re: collapsing on a filter query

2016-05-26 Thread aanilpala
thanks, it indeed works that way. I was curious if the same would work with rq but it seems not (from the results I can at least say that one reranker is ignored). Is there a way to combine two rq components? PS: I know now it is another question, should I open a start thread? -- View this me

Re: collapsing on a filter query

2016-05-26 Thread Joel Bernstein
Could you use two filter queries: fq=is_valid:true&fq={!collapse field=user_id} This syntax should work fine. It first filter the results based on is_valid:true and then collapse the results. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, May 26, 2016 at 10:41 AM, aanilpala wrote: >