Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef BOOLEANCLAUSE_H
8 #define BOOLEANCLAUSE_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
A clause in a BooleanQuery.
Definition: BooleanClause.h:15
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
QueryPtr query
The query whose matching documents are combined by the boolean query.
Definition: BooleanClause.h:36
void setOccur(Occur occur)
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
Occur occur
Definition: BooleanClause.h:41
@ SHOULD
Use this operator for clauses that should appear in the matching documents. For a BooleanQuery with n...
Definition: BooleanClause.h:25
virtual int32_t hashCode()
Return hash code for this object.
void setQuery(const QueryPtr &query)
virtual String toString()
Returns a string representation of the object.
@ MUST
Use this operator for clauses that must appear in the matching documents.
Definition: BooleanClause.h:20
BooleanClause(const QueryPtr &query, Occur occur)
Occur
Specifies how clauses are to occur in matching documents.
Definition: BooleanClause.h:18
clucene.sourceforge.net