22 #ifndef XAPIAN_INCLUDED_CONTIGUOUSALLDOCSPOSTLIST_H
23 #define XAPIAN_INCLUDED_CONTIGUOUSALLDOCSPOSTLIST_H
A PostList iterating all docids when they form a contiguous range.
Xapian::termcount get_unique_terms() const
Return the number of unique terms.
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.
Xapian::doccount get_termfreq() const
Return the term frequency.
Xapian::termcount get_doclength() const
Return the length of current document.
void operator=(const ContiguousAllDocsPostList &)
Don't allow assignment.
Xapian::doccount doccount
The number of documents in the database.
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::Internal::intrusive_ptr< const Xapian::Database::Internal > db
The database we're iterating over.
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(Xapian::Internal::intrusive_ptr< const Xapian::Database::Internal > db_, Xapian::doccount doccount_)
Constructor.
ContiguousAllDocsPostList(const ContiguousAllDocsPostList &)
Don't allow copying.
Abstract base class for leaf postlists.
Abstract base class for iterating term positions in a document.
Abstract base class for postlists.
Internal * next()
Advance the current position to the next document in the postlist.
API for working with Xapian databases.
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.