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