22 #ifndef XAPIAN_INCLUDED_CONTIGUOUSALLDOCSPOSTLIST_H
23 #define XAPIAN_INCLUDED_CONTIGUOUSALLDOCSPOSTLIST_H
A PostList iterating all docids when they form a contiguous range.
std::string get_description() const
Return a string description of this object.
Xapian::termcount get_wdf() const
Always return 1 (wdf isn't totally meaningful for us).
Xapian::docid did
The current document id.
PositionList * open_position_list() const
Throws InvalidOperationError.
ContiguousAllDocsPostList(Xapian::doccount doccount)
Constructor.
void operator=(const ContiguousAllDocsPostList &)
Don't allow assignment.
PostList * skip_to(Xapian::docid target, double w_min)
Skip ahead to next document with docid >= target.
PositionList * read_position_list()
Throws InvalidOperationError.
bool at_end() const
Return true if and only if we're off the end of the list.
Xapian::termcount get_wdf_upper_bound() const
Always return 1 (wdf isn't totally meaningful for us).
Xapian::docid get_docid() const
Return the current docid.
ContiguousAllDocsPostList(const ContiguousAllDocsPostList &)
Don't allow copying.
Abstract base class for leaf postlists.
Xapian::termcount collfreq
The collection frequency of the term.
Abstract base class for postlists.
PostList * next()
Advance the current position to the next document in the postlist.
Xapian::doccount termfreq
Estimate of the number of documents this PostList will return.
Abstract base class for iterating term positions in a document.
Abstract base class for leaf postlists.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.