Hi,

We need to enhance our existing solr search to support query with 'AND'
/'OR'. That is, when user enters "(breast OR liver) AND cancer" in the query
field, the documents with 'liver' & 'cancer' and the documents with 'breast'
& 'cancer' should be returned.

Our existing solr schema includes multiple search fields, like TITLE,
ABSTRACT,..., and we are using DisMaxRequestHandler. 

To support the query with the user entered AND / OR, do we have to use
StandardRequestHandler and write our own query parser? Is there any sample
code for supporting this type of query?

Thanks.

Qingdi
 
-- 
View this message in context: 
http://www.nabble.com/How-to-support-query-with-AND---OR--tp21062863p21062863.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to