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