7 #ifndef FILTEREDDOCIDSETITERATOR_H
8 #define FILTEREDDOCIDSETITERATOR_H
29 virtual int32_t docID();
30 virtual int32_t nextDoc();
31 virtual int32_t advance(int32_t target);
38 virtual bool match(int32_t docid) = 0;
Abstract decorator class of a DocIdSetIterator implementation that provides on-demand filter/validati...
Definition: FilteredDocIdSetIterator.h:16
int32_t doc
Definition: FilteredDocIdSetIterator.h:26
This abstract class defines methods to iterate over a set of non-decreasing doc ids. Note that this class assumes it iterates on doc Ids, and therefore NO_MORE_DOCS is set to { NO_MORE_DOCS} in order to be used as a sentinel object. Implementations of this class are expected to consider INT_MAX as an invalid value.
Definition: DocIdSetIterator.h:17
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition: LuceneTypes.h:324
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12