Base class for TermListGroup Stores and provides terms that are contained in a document and their respective term frequencies.
More...
#include <cluster.h>
Base class for TermListGroup Stores and provides terms that are contained in a document and their respective term frequencies.
Definition at line 135 of file cluster.h.
◆ FreqSource() [1/2]
| Xapian::FreqSource::FreqSource |
( |
const FreqSource & |
| ) |
|
|
privatedelete |
◆ FreqSource() [2/2]
| Xapian::FreqSource::FreqSource |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 145 of file cluster.h.
◆ ~FreqSource()
| virtual Xapian::FreqSource::~FreqSource |
( |
| ) |
|
|
virtual |
◆ get_doccount()
| virtual doccount Xapian::FreqSource::get_doccount |
( |
| ) |
const |
|
pure virtual |
◆ get_termfreq()
| virtual doccount Xapian::FreqSource::get_termfreq |
( |
const std::string & |
tname | ) |
const |
|
pure virtual |
Return the term frequency of a particular term 'tname'.
- Parameters
-
| tname | The term for which to return the term frequency |
Implemented in Xapian::TermListGroup.
◆ operator=()
| void Xapian::FreqSource::operator= |
( |
const FreqSource & |
| ) |
|
|
privatedelete |
◆ release() [1/2]
Start reference counting this object.
You can transfer 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.
Definition at line 166 of file cluster.h.
◆ release() [2/2]
| const FreqSource* Xapian::FreqSource::release |
( |
| ) |
const |
|
inline |
Start reference counting this object.
You can transfer 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.
Definition at line 178 of file cluster.h.
The documentation for this class was generated from the following file: