RE: Understanding multi-field queries with q and fq

2011-03-03 Thread mrw
gt; From: mrw [mailto:mikerobertsw...@gmail.com] >> Sent: Wednesday, March 02, 2011 2:28 PM >> To: solr-user@lucene.apache.org >> Subject: Re: Understanding multi-field queries with q and fq >> >> Anyone understand how to do boolean logic across multiple fields? &g

RE: Understanding multi-field queries with q and fq

2011-03-02 Thread Bob Sandiford
gt; Sent: Wednesday, March 02, 2011 2:28 PM > To: solr-user@lucene.apache.org > Subject: Re: Understanding multi-field queries with q and fq > > Anyone understand how to do boolean logic across multiple fields? > > Dismax is nice for searching multiple fields, but doesn't nec

Re: Understanding multi-field queries with q and fq

2011-03-02 Thread Sujit Pal
This could probably be done using a custom QParser plugin? Define the pattern like this: String queryTemplate = "title:%Q%^2.0 body:%Q%"; then replace the %Q% with the value of the Q param, send it through QueryParser.parse() and return the query. -sujit On Wed, 2011-03-02 at 11:28 -0800, mrw

Re: Understanding multi-field queries with q and fq

2011-03-02 Thread mrw
Anyone understand how to do boolean logic across multiple fields? Dismax is nice for searching multiple fields, but doesn't necessarily support our syntax requirements. eDismax appears to be not available until Solr 3.1. In the meantime, it looks like we need to support applying the user's q

Re: Understanding multi-field queries with q and fq

2011-02-28 Thread mrw
Hi, Otis. I have been playing with dismax (defType=dismax, not qt=dismax -- not sure about the difference). It looks like eDismax won't be available until Solr 3.1, correct? We actually have to pass hundreds of Oracle OLS labels in each request for each user (e.g., Loan Officer can see her custom

Re: Understanding multi-field queries with q and fq

2011-02-20 Thread Otis Gospodnetic
Hi mrw, It sounds like you (e)dismax is what you should look into. You didn't mention it/them, so I'm assuming you're not aware of them. See: http://search-lucene.com/?q=dismax+OR+edismax&fc_project=Solr Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem searc