33 static int32_t maxClauseCount;
45 static int32_t getMaxClauseCount();
48 static void setMaxClauseCount(int32_t maxClauseCount);
52 bool isCoordDisabled();
66 void setMinimumNumberShouldMatch(int32_t min);
69 int32_t getMinimumNumberShouldMatch();
90 virtual void extractTerms(SetTerm terms);
93 virtual String toString(
const String& field);
95 virtual int32_t hashCode();
97 friend class BooleanWeight;
bool disableCoord
Definition: BooleanQuery.h:36
virtual String toString()
Prints a query to a string.
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
boost::shared_ptr< Weight > WeightPtr
Definition: LuceneTypes.h:480
int32_t minNrShouldMatch
Definition: BooleanQuery.h:37
boost::shared_ptr< Searcher > SearcherPtr
Definition: LuceneTypes.h:434
boost::shared_ptr< BooleanClause > BooleanClausePtr
Definition: LuceneTypes.h:278
The abstract base class for queries.
Definition: Query.h:31
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
A Query that matches documents matching boolean combinations of other queries, eg. TermQuerys, PhraseQuerys or other BooleanQuerys.
Definition: BooleanQuery.h:18
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
Occur
Specifies how clauses are to occur in matching documents.
Definition: BooleanClause.h:18
Collection< BooleanClausePtr > clauses
Definition: BooleanQuery.h:35
boost::shared_ptr< Similarity > SimilarityPtr
Definition: LuceneTypes.h:435