Hi,

Presently "OR" is the default operator for search in Solr. for e.g. If I am
searching for these 2 words with a space: abc xyz then it will return all
the records which has either abc or xyz or both. It means it is executing
query like abc or xyz.

But my requirement is that it should return only those records which
contains abc and xyz both i.e. It should execute the query using AND
operator as default like abc and xyz.

Please suggest how I can do this.

Thanks,
Amit Garg
-- 
View this message in context: 
http://www.nabble.com/Default-Query-Operator-tp23477955p23477955.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to