xapian-core
1.5.0
|
Base class for TermListGroup Stores and provides terms that are contained in a document and their respective term frequencies. More...
Public Member Functions | |
FreqSource () | |
Default constructor. | |
virtual | ~FreqSource () |
Destructor. | |
virtual doccount | get_termfreq (const std::string &tname) const =0 |
Return the term frequency of a particular term 'tname'. More... | |
virtual doccount | get_doccount () const =0 |
Return the number of documents within the MSet. | |
FreqSource * | release () |
Start reference counting this object. More... | |
const FreqSource * | release () const |
Start reference counting this object. More... | |
Base class for TermListGroup Stores and provides terms that are contained in a document and their respective term frequencies.
|
pure virtual |
Return the term frequency of a particular term 'tname'.
tname | The term for which to return the term frequency |
Implemented in Xapian::TermListGroup.
|
inline |
Start reference counting this object.
You can hand ownership of a dynamically allocated FreqSource object to Xapian by calling release() and then passing the object to a Xapian method. Xapian will arrange to delete the object once it is no longer required.
|
inline |
Start reference counting this object.
You can hand ownership of a dynamically allocated FreqSource object to Xapian by calling release() and then passing the object to a Xapian method. Xapian will arrange to delete the object once it is no longer required.