7#ifndef MULTITERMQUERYWRAPPERFILTER_H
8#define MULTITERMQUERYWRAPPERFILTER_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Abstract base class for restricting which documents may be returned during searching.
Definition Filter.h:15
A wrapper for MultiTermQuery, that exposes its functionality as a Filter.
Definition MultiTermQueryWrapperFilter.h:22
MultiTermQueryPtr query
Definition MultiTermQueryWrapperFilter.h:33
int32_t getTotalNumberOfTerms()
Return the number of unique terms visited during execution of the filter. If there are many of them,...
void clearTotalNumberOfTerms()
Resets the counting of unique terms. Do this before executing the filter.
virtual DocIdSetPtr getDocIdSet(const IndexReaderPtr &reader)
Returns a DocIdSet with documents that should be permitted in search results.
virtual int32_t hashCode()
Return hash code for this object.
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
virtual String toString()
Returns a string representation of the object.
virtual ~MultiTermQueryWrapperFilter()
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition LuceneTypes.h:539
boost::shared_ptr< DocIdSet > DocIdSetPtr
Definition LuceneTypes.h:323
boost::shared_ptr< MultiTermQuery > MultiTermQueryPtr
Definition LuceneTypes.h:389
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157