public class BoolQuery
extends SearchServerQuery
This query type is equivalent to Lucene's BooleanQuery. It wraps around other queries and with that, forms
clauses with the operators must should and must_not. For a document to match, it
has to match all must clauses, gets better score for should clauses and is rejected for matching
must_not clauses. A clause may contain multiple nested queries. In this case, the three operators roughly
translate into boolean and, or and not operators, respectively.
- Author:
- faessler
- See Also:
http://lucene.apache.org/core/4_10_0/core/org/apache/lucene/search/BooleanQuery.html