ExpandDecider subclass which restrict terms to a particular prefix. More...
Public Member Functions | |
ExpandDeciderFilterPrefix (const std::string &prefix_) | |
The parameter specify the prefix of terms to be retained. | |
virtual bool | operator() (const std::string &term) const |
Do we want this term in the ESet? |
ExpandDecider subclass which restrict terms to a particular prefix.
ExpandDeciderFilterPrefix provides an easy way to choose terms with a particular prefix when generating an ESet.
Xapian::ExpandDeciderFilterPrefix::ExpandDeciderFilterPrefix | ( | const std::string & | prefix_ | ) | [inline] |
The parameter specify the prefix of terms to be retained.
prefix_ | restrict terms to the particular prefix_ |
virtual bool Xapian::ExpandDeciderFilterPrefix::operator() | ( | const std::string & | term | ) | const [virtual] |
Do we want this term in the ESet?
term | The term to test. |
Implements Xapian::ExpandDecider.