## Uses of Class
org.apache.lucene.search.BooleanClause.Occur

Packages that use BooleanClause.Occur
org.apache.lucene.queryParser: A simple query parser implemented with JavaCC.
org.apache.lucene.search: Code to search indices.

Uses of BooleanClause.Occur in org.apache.lucene.queryParser

Methods in org.apache.lucene.queryParser with parameters of type BooleanClause.Occur
`protected BooleanClause` `QueryParser.newBooleanClause(Query q, BooleanClause.Occur occur)` Builds a new BooleanClause instance
`static Query` `MultiFieldQueryParser.parse(Version matchVersion, String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)` Parses a query, searching on the fields specified.
`static Query` `MultiFieldQueryParser.parse(Version matchVersion, String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)` Parses a query, searching on the fields specified.

Uses of BooleanClause.Occur in org.apache.lucene.search

Methods in org.apache.lucene.search that return BooleanClause.Occur
`BooleanClause.Occur` `BooleanClause.getOccur()`
`static BooleanClause.Occur` `BooleanClause.Occur.valueOf(String name)` 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're declared.

Methods in org.apache.lucene.search with parameters of type BooleanClause.Occur
`void` `BooleanQuery.add(Query query, BooleanClause.Occur occur)` Adds a clause to a boolean query.
`void` `BooleanClause.setOccur(BooleanClause.Occur occur)`
`void` `Scorer.visitSubScorers(Query parent, BooleanClause.Occur relationship, Scorer.ScorerVisitor<Query,Query,Scorer> visitor)` `Scorer` subclasses should implement this method if the subclass itself contains multiple scorers to support gathering details for sub-scorers via `Scorer.ScorerVisitor`

Constructors in org.apache.lucene.search with parameters of type BooleanClause.Occur
`BooleanClause(Query query, BooleanClause.Occur occur)` Constructs a BooleanClause.