xapian-core
1.5.0
|
A class for construction of termlists which store the terms for a document along with the number of documents it indexes i.e. More...
Public Member Functions | |
TermListGroup (const MSet &docs, const Stopper *stopper=NULL) | |
Constructor. More... | |
doccount | get_termfreq (const std::string &tname) const |
Return the number of documents that the term 'tname' exists in. More... | |
doccount | get_doccount () const |
Return the number of documents within the MSet. | |
![]() | |
FreqSource () | |
Default constructor. | |
virtual | ~FreqSource () |
Destructor. | |
FreqSource * | release () |
Start reference counting this object. More... | |
const FreqSource * | release () const |
Start reference counting this object. More... | |
A class for construction of termlists which store the terms for a document along with the number of documents it indexes i.e.
term frequency
Constructor.
docs | MSet object used to construct the TermListGroup |
stopper | Xapian::Stopper object to identify stopwords |
|
virtual |
Return the number of documents that the term 'tname' exists in.
tname | The term for which to return the term frequency |
Implements Xapian::FreqSource.