virtual Index documentFrequency() const =0
Get the number of documents where the feature occurrs.
virtual const char * featureid() const =0
Unique id in the system for a feature expression used for debugging and tracing.
virtual Index skipDocCandidate(const Index &docno)=0
Return a candidate with a document number higher than or equal to a given document number without gua...
virtual Index length() const =0
Get the ordinal position length of the current match.
virtual ~PostingIteratorInterface()
Definition: postingIteratorInterface.hpp:23
virtual Index posno() const =0
Get the current position number.
Structure that represents a set of feature occurrencies (postings) as iterator.
Definition: postingIteratorInterface.hpp:20
virtual Index skipPos(const Index &firstpos)=0
Return the next matching position higher than or equal to firstpos in the current document...
virtual unsigned int frequency()=0
Get the frequency of the feature in the current document.
virtual Index docno() const =0
Get the current document number.
virtual Index skipDoc(const Index &docno)=0
Return the next document match with a document number higher than or equal to a given document number...