|
xapian-core
1.4.18
|
A posting source which returns a fixed weight for all documents. More...
Inheritance diagram for Xapian::FixedWeightPostingSource:Public Member Functions | |
| FixedWeightPostingSource (double wt) | |
| Construct a FixedWeightPostingSource. More... | |
| Xapian::doccount | get_termfreq_min () const |
| A lower bound on the number of documents this object can return. More... | |
| Xapian::doccount | get_termfreq_est () const |
| An estimate of the number of documents this object can return. More... | |
| Xapian::doccount | get_termfreq_max () const |
| An upper bound on the number of documents this object can return. More... | |
| double | get_weight () const |
| Return the weight contribution for the current document. More... | |
| void | next (double min_wt) |
| Advance the current position to the next matching document. More... | |
| void | skip_to (Xapian::docid min_docid, double min_wt) |
| Advance to the specified docid. More... | |
| bool | check (Xapian::docid min_docid, double min_wt) |
| Check if the specified docid occurs. More... | |
| bool | at_end () const |
| Return true if the current position is past the last entry in this list. More... | |
| Xapian::docid | get_docid () const |
| Return the current docid. More... | |
| FixedWeightPostingSource * | clone () const |
| Clone the posting source. More... | |
| std::string | name () const |
| Name of the posting source class. More... | |
| std::string | serialise () const |
| Serialise object parameters into a string. More... | |
| FixedWeightPostingSource * | unserialise (const std::string &serialised) const |
| Create object given string serialisation returned by serialise(). More... | |
| void | init (const Database &db_) |
| Set this PostingSource to the start of the list of postings. More... | |
| std::string | |