Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef FILTEREDDOCIDSET_H
8 #define FILTEREDDOCIDSET_H
47 virtual bool match(int32_t docid) = 0;
49 friend class DefaultFilteredDocIdSetIterator;
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
FilteredDocIdSet(const DocIdSetPtr &innerSet)
Abstract decorator class for a DocIdSet implementation that provides on-demand filtering/validation m...
Definition: FilteredDocIdSet.h:23
DocIdSetPtr innerSet
Definition: FilteredDocIdSet.h:29
A DocIdSet contains a set of doc ids. Implementing classes must only implement iterator to provide ac...
Definition: DocIdSet.h:16
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition: LuceneTypes.h:324
virtual DocIdSetIteratorPtr iterator()
Implementation of the contract to build a DocIdSetIterator.
virtual ~FilteredDocIdSet()
boost::shared_ptr< DocIdSet > DocIdSetPtr
Definition: LuceneTypes.h:323
virtual bool isCacheable()
This DocIdSet implementation is cacheable if the inner set is cacheable.
virtual bool match(int32_t docid)=0
Validation method to determine whether a docid should be in the result set.
clucene.sourceforge.net