7#ifndef FILTEREDDOCIDSETITERATOR_H
8#define FILTEREDDOCIDSETITERATOR_H
38 virtual bool match(int32_t docid) = 0;
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
This abstract class defines methods to iterate over a set of non-decreasing doc ids....
Definition DocIdSetIterator.h:17
Abstract decorator class of a DocIdSetIterator implementation that provides on-demand filter/validati...
Definition FilteredDocIdSetIterator.h:16
virtual bool match(int32_t docid)=0
Validation method to determine whether a docid should be in the result set.
DocIdSetIteratorPtr innerIter
Definition FilteredDocIdSetIterator.h:25
virtual int32_t nextDoc()
Advances to the next document in the set and returns the doc it is currently on, or NO_MORE_DOCS if t...
int32_t doc
Definition FilteredDocIdSetIterator.h:26
virtual ~FilteredDocIdSetIterator()
virtual int32_t docID()
Returns the following:
FilteredDocIdSetIterator(const DocIdSetIteratorPtr &innerIter)
virtual int32_t advance(int32_t target)
Advances to the first beyond the current whose document number is greater than or equal to target....
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition LuceneTypes.h:324