83 string desc =
"ChertAllDocsPostList(did=";
A PostList which iterates over all documents in a ChertDatabase.
InvalidOperationError indicates the API was used in an invalid way.
Convert types to std::string.
Xapian::termcount get_wdf() const
Return the wdf for the document at the current position.
Xapian::docid get_docid() const
Returns the current docid.
std::string get_description() const
Return a string description of this object.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
ChertAllDocsPostList(const ChertAllDocsPostList &)
Don't allow copying.
PositionList * open_position_list() const
Read the position list for the term in the current document and return a pointer to it (not owned by ...
PositionList * read_position_list()
Read the position list for the term in the current document and return a pointer to it (owned by the ...
string str(int value)
Convert int to std::string.
bool at_end() const
Return true if and only if we're off the end of the list.
#define AssertParanoid(COND)
#define LOGCALL_CTOR(CATEGORY, CLASS, PARAMS)
C++ class definition for chert database.
Xapian::doccount doccount
The number of documents in the database.
Xapian::termcount get_doclength() const
Return the length of current document.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Xapian::doccount get_termfreq() const
Return the exact term frequency.
A postlist in a chert database.
Abstract base class for iterating term positions in a document.
A smart pointer that uses intrusive reference counting.
Xapian::termcount get_wdf() const
Returns the Within Document Frequency of the term in the current document.
#define LOGCALL(CATEGORY, TYPE, FUNC, PARAMS)