Hello Sandhya,

title: star AND wars NOT sdi
This query will match every document where "star" *and* "wars" occur but
*not* the term "sdi" (SDI => Strategic Defense Initiative => in the media
there was often the term star wars used to describe the project).

title: star OR wars
This query will match every document where "star" *or* "wars" occur.

If your standard operator (defined in your schema.xml) is the OR, you don't
need to add the "OR" operator to your query.

Standard-operator: OR
title: star wars
This is the same as title: star OR wars

standard-operator: AND
title: star wars
- > the same as title: star AND wars

standard-operator: AND
title: star wars NOT sdi
is the same as: title: star AND wars NOT sdi

Hope this helps.

Kind regards
- Mitch 
-- 
View this message in context: 
http://n3.nabble.com/Help-using-boolean-operators-tp729102p729135.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to