#include <chert_alldocspostlist.h>


Public Member Functions | |
| ChertAllDocsPostList (Xapian::Internal::RefCntPtr< const ChertDatabase > db_, Xapian::doccount doccount_) | |
| Xapian::doccount | get_termfreq () const |
| Returns number of docs indexed by this term. | |
| Xapian::termcount | get_doclength () const |
| Returns the length of current document. | |
| Xapian::termcount | get_wdf () const |
| Returns the Within Document Frequency of the term in the current document. | |
| PositionList * | read_position_list () |
| Get the list of positions of the term in the current document. | |
| PositionList * | open_position_list () const |
| Get the list of positions of the term in the current document. | |
| std::string | get_description () const |
| Get a description of the document. | |
Private Member Functions | |
| void | operator= (const ChertAllDocsPostList &) |
| Don't allow assignment. | |
| ChertAllDocsPostList (const ChertAllDocsPostList &) | |
| Don't allow copying. | |
Private Attributes | |
| Xapian::doccount | doccount |
| The number of documents in the database. | |
Definition at line 29 of file chert_alldocspostlist.h.
| ChertAllDocsPostList::ChertAllDocsPostList | ( | const ChertAllDocsPostList & | ) | [private] |
Don't allow copying.
| ChertAllDocsPostList::ChertAllDocsPostList | ( | Xapian::Internal::RefCntPtr< const ChertDatabase > | db_, | |
| Xapian::doccount | doccount_ | |||
| ) |
Definition at line 34 of file chert_alldocspostlist.cc.
References Xapian::Internal::RefCntPtr< T >::get(), and LOGCALL_CTOR.
| string ChertAllDocsPostList::get_description | ( | ) | const [virtual] |
Get a description of the document.
Reimplemented from ChertPostList.
Reimplemented in ChertAllDocsModifiedPostList.
Definition at line 80 of file chert_alldocspostlist.cc.
References doccount, ChertPostList::get_docid(), and Xapian::Internal::str().
| Xapian::termcount ChertAllDocsPostList::get_doclength | ( | ) | const [virtual] |
Returns the length of current document.
Reimplemented from ChertPostList.
Reimplemented in ChertAllDocsModifiedPostList.
Definition at line 50 of file chert_alldocspostlist.cc.
References ChertPostList::get_wdf(), LOGCALL, and RETURN.
Referenced by ChertAllDocsModifiedPostList::get_doclength().
| Xapian::doccount ChertAllDocsPostList::get_termfreq | ( | ) | const [virtual] |
Returns number of docs indexed by this term.
This is the length of the postlist.
Reimplemented from ChertPostList.
Definition at line 43 of file chert_alldocspostlist.cc.
| Xapian::termcount ChertAllDocsPostList::get_wdf | ( | ) | const [virtual] |
Returns the Within Document Frequency of the term in the current document.
Reimplemented from ChertPostList.
Definition at line 58 of file chert_alldocspostlist.cc.
References AssertParanoid, ChertPostList::at_end(), LOGCALL, and RETURN.
| PositionList * ChertAllDocsPostList::open_position_list | ( | ) | const [virtual] |
Get the list of positions of the term in the current document.
Reimplemented from ChertPostList.
Definition at line 73 of file chert_alldocspostlist.cc.
References LOGCALL.
| void ChertAllDocsPostList::operator= | ( | const ChertAllDocsPostList & | ) | [private] |
Don't allow assignment.
| PositionList * ChertAllDocsPostList::read_position_list | ( | ) | [virtual] |
Get the list of positions of the term in the current document.
Reimplemented from ChertPostList.
Definition at line 66 of file chert_alldocspostlist.cc.
References LOGCALL.
The number of documents in the database.
Definition at line 37 of file chert_alldocspostlist.h.
Referenced by get_description(), and get_termfreq().