|
xapian-core
1.4.26
|
ExpandDecider subclass which rejects terms in a specified list. More...
#include <expanddecider.h>
Inheritance diagram for Xapian::ExpandDeciderFilterTerms:Public Member Functions | |
| template<class Iterator > | |
| ExpandDeciderFilterTerms (Iterator reject_begin, Iterator reject_end) | |
| The two iterators specify a list of terms to be rejected. | |
| virtual bool | operator() (const std::string &term) const |
| Do we want this term in the ESet? | |
Public Member Functions inherited from Xapian::ExpandDecider | |
| ExpandDecider () | |
| Default constructor. | |
| virtual | ~ExpandDecider () |
| Virtual destructor, because we have virtual methods. | |
| ExpandDecider * | release () |
| Start reference counting this object. | |
| const ExpandDecider * | release () const |
| Start reference counting this object. | |
ExpandDecider subclass which rejects terms in a specified list.
ExpandDeciderFilterTerms provides an easy way to filter out terms from a fixed list when generating an ESet.
|
inline |
The two iterators specify a list of terms to be rejected.
| reject_begin | Begin iterator for the list of terms to reject. It can be any input_iterator type which returns std::string or char * (e.g. TermIterator or char **). |
| reject_end | End iterator for the list of terms to reject. |
|
virtual |
Do we want this term in the ESet?
| term | The term to test. |
Implements Xapian::ExpandDecider.