|
xapian-core
2.0.0
|
A termlist which ORs two termlists together, adding term frequencies. More...
#include <ortermlist.h>
Inheritance diagram for FreqAdderOrTermList:
Collaboration diagram for FreqAdderOrTermList:Public Member Functions | |
| FreqAdderOrTermList (TermList *left_, TermList *right_) | |
| Xapian::doccount | get_termfreq () const |
| Return the term frequency for the term at the current position. More... | |
Public Member Functions inherited from OrTermList | |
| OrTermList (TermList *left_, TermList *right_) | |
| ~OrTermList () | |
| Xapian::termcount | get_approx_size () const |
| Return approximate size of this termlist. More... | |
| void | accumulate_stats (Xapian::Internal::ExpandStats &stats) const |
| Collate weighting information for the current term. More... | |
| Xapian::termcount | get_wdf () const |
| Return the wdf for the term at the current position. More... | |
| TermList * | next () |
| Advance the current position to the next term in the termlist. More... | |
| TermList * | skip_to (std::string_view term) |
| Skip forward to the specified term. More... | |
| Xapian::termcount | positionlist_count () const |
| Return the length of the position list for the current position. More... | |
| PositionList * | positionlist_begin () const |
| Return PositionList for the current position. More... | |
Public Member Functions inherited from Xapian::TermIterator::Internal | |
| virtual | ~Internal () |
| We have virtual methods and want to be able to delete derived classes using a pointer to the base class, so we need a virtual destructor. More... | |
| const std::string & | get_termname () const |
| Return the termname at the current position. More... | |
| virtual const Xapian::VecCOW< Xapian::termpos > * | get_vec_termpos () const |
| Get pointer to VecCOW<termpos> if that's the internal representation. More... | |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
| intrusive_base () | |
| Construct with no references. More... | |
Additional Inherited Members | |
Public Attributes inherited from Xapian::TermIterator::Internal | |
| size_t | shard_index = 0 |
| Which shard of a multidatabase this is from. More... | |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
| unsigned | _refs |
| Reference count. More... | |
Protected Member Functions inherited from OrTermList | |
| void | check_started () const |
| Check that next() has already been called. More... | |
Protected Member Functions inherited from Xapian::TermIterator::Internal | |
| Internal () | |
| Only constructable as a base class for derived classes. More... | |
Protected Attributes inherited from OrTermList | |
| TermList * | left |
| The two TermList objects we're merging. More... | |
| TermList * | right |
| int | cmp = 0 |
| The result of left->get_termname().compare(right->get_termname()). More... | |
Protected Attributes inherited from Xapian::TermIterator::Internal | |
| std::string | current_term |
| The current term. More... | |
A termlist which ORs two termlists together, adding term frequencies.
This termlist is just like OrTermList, but adds the term frequencies of terms which appear in both sublists together, rather than asserting that the frequencies are equal. This is appropriate for spelling termlists.
Definition at line 75 of file ortermlist.h.
Definition at line 77 of file ortermlist.h.
|
virtual |
Return the term frequency for the term at the current position.
Reimplemented from OrTermList.
Definition at line 205 of file ortermlist.cc.