Prerna,

Yes, DisMax doesn't take in queries with Boolean operators.  But I believe 
there is a patch in JIRA that makes that possible.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: prerna07 <pkhandelw...@sapient.com>
> To: solr-user@lucene.apache.org
> Sent: Monday, May 18, 2009 6:05:50 AM
> Subject: Query with AND|OR operator with Dismaxrequest
> 
> 
> 
> Hi,
> 
> I am not getting correct results with a Query which has multiple AND | OR
> operator.
> 
> Query Format q=((A AND B) OR (C OR D) OR E) 
> 
> ?q=((intAgeFrom_product_i:[0+TO+3]+AND+intAgeTo_product_i:[3+TO+*])+OR+(intAgeFrom_product_i:[0+TO+3]+AND+intAgeTo_product_i:[0+TO+3])+OR+(ageFrom_product_s:Adult))&qt=dismaxrequest
> 
> Query return correct result without Dismaxrequest, but incorrect results
> with Dismaxrequest.
> 
> I have to use dismaxrequest because i need boosting of search results 
> 
> According to some posts there are issues with AND | OR operator with
> dismaxrequest. 
> Please let me know if anyone has faced the same problem and if there is any
> way to make the query work with dismaxrequest.
> 
> Thanks,
> Prerna
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Query-with-AND%7COR-operator-with-Dismaxrequest-tp23594592p23594592.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to