Public Member Functions | List of all members
Xapian::ExpandDeciderFilterPrefix Class Reference

ExpandDecider subclass which restrict terms to a particular prefix. More...

+ Inheritance diagram for Xapian::ExpandDeciderFilterPrefix:

Public Member Functions

 ExpandDeciderFilterPrefix (const std::string &prefix_)
 The parameter specify the prefix of terms to be retained. More...
 
virtual bool operator() (const std::string &term) const
 Do we want this term in the ESet? More...
 
- Public Member Functions inherited from Xapian::ExpandDecider
 ExpandDecider ()
 Default constructor.
 
virtual ~ExpandDecider ()
 Virtual destructor, because we have virtual methods. More...
 
ExpandDeciderrelease ()
 
const ExpandDeciderrelease () const
 

Detailed Description

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.

Constructor & Destructor Documentation

Xapian::ExpandDeciderFilterPrefix::ExpandDeciderFilterPrefix ( const std::string &  prefix_)
inlineexplicit

The parameter specify the prefix of terms to be retained.

Parameters
prefix_restrict terms to the particular prefix_

Member Function Documentation

virtual bool Xapian::ExpandDeciderFilterPrefix::operator() ( const std::string &  term) const
virtual

Do we want this term in the ESet?

Parameters
termThe term to test.

Implements Xapian::ExpandDecider.


The documentation for this class was generated from the following file:

Documentation for Xapian (version 1.4.0).
Generated on Wed Oct 12 2016 by Doxygen 1.8.11.