Class NotQuery
- java.lang.Object
-
- org.apache.lucene.queryparser.surround.query.SrndQuery
-
- org.apache.lucene.queryparser.surround.query.ComposedQuery
-
- org.apache.lucene.queryparser.surround.query.NotQuery
-
- All Implemented Interfaces:
java.lang.Cloneable
public class NotQuery extends ComposedQuery
Factory for prohibited clauses
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.queryparser.surround.query.SrndQuery
theEmptyLcnQuery
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Query
makeLuceneQueryFieldNoBoost(java.lang.String fieldName, BasicQueryFactory qf)
-
Methods inherited from class org.apache.lucene.queryparser.surround.query.ComposedQuery
getNrSubQueries, getOperatorName, getSubQueriesIterator, getSubQuery, isFieldsSubQueryAcceptable, isOperatorInfix, makeLuceneSubQueriesField, toString
-
Methods inherited from class org.apache.lucene.queryparser.surround.query.SrndQuery
clone, equals, getWeight, getWeightOperator, getWeightString, hashCode, isWeighted, makeLuceneQueryField, setWeight
-
-
-
-
Constructor Detail
-
NotQuery
public NotQuery(java.util.List<SrndQuery> queries, java.lang.String opName)
-
-
Method Detail
-
makeLuceneQueryFieldNoBoost
public Query makeLuceneQueryFieldNoBoost(java.lang.String fieldName, BasicQueryFactory qf)
- Specified by:
makeLuceneQueryFieldNoBoost
in classSrndQuery
-
-