Re: Merging results from two queries

2012-04-02 Thread John Chee
Karthick, The solution that I use to this problem is to perform query1 and query2 and boost results matching query1. Then solr takes care of all the deduplication (not necessarily merging) automatically, would this work for your situation? I stole this idea from this slide deck: "Make sure all r

Re: Merging results from two queries

2012-04-03 Thread John Chee
Karthick, I mean perform both query1 and query2 simultaneously, something like query1: (superpower:flight OR name:batman) query2: (superpower:speed AND name:flash) Could be transformed to: (superpower:flight^2 OR name:batman^2) OR (superpower:speed AND name:flash) This would give you all resul

Re: Can I discover what part of a score is attributable to a subquery?

2012-04-13 Thread John Chee
On Fri, Apr 13, 2012 at 2:40 PM, Benson Margulies wrote: > Given a query including a subquery, is there any way for me to learn > that subquery's contribution to the overall document score? > > I can provide 'why on earth would anyone ...' if someone wants to know. Have you tried debugQuery=true?