Uses of Enum
org.apache.lucene.search.BooleanClause.Occur
Packages that use BooleanClause.Occur
Package
Description
Code to search indices.
Some utility classes.
-
Uses of BooleanClause.Occur in org.apache.lucene.search
Methods in org.apache.lucene.search that return BooleanClause.OccurModifier and TypeMethodDescriptionBooleanClause.getOccur()
static BooleanClause.Occur
Returns the enum constant of this type with the specified name.static BooleanClause.Occur[]
BooleanClause.Occur.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.lucene.search with parameters of type BooleanClause.OccurModifier and TypeMethodDescriptionvoid
BooleanQuery.add
(Query query, BooleanClause.Occur occur) Adds a clause to a boolean query.void
BooleanClause.setOccur
(BooleanClause.Occur occur) Constructors in org.apache.lucene.search with parameters of type BooleanClause.OccurModifierConstructorDescriptionBooleanClause
(Query query, BooleanClause.Occur occur) Constructs a BooleanClause. -
Uses of BooleanClause.Occur in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type BooleanClause.OccurModifier and TypeMethodDescriptionQueryBuilder.createBooleanQuery
(String field, String queryText, BooleanClause.Occur operator) Creates a boolean query from the query text.protected final Query
QueryBuilder.createFieldQuery
(Analyzer analyzer, BooleanClause.Occur operator, String field, String queryText, boolean quoted, int phraseSlop) Creates a query from the analysis chain.