Public Member Functions
Xapian::ExpandDeciderFilterPrefix Class Reference

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

+ Inheritance diagram for Xapian::ExpandDeciderFilterPrefix:

List of all members.

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?

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_) [inline]

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.3.1).
Generated on Fri May 3 2013 by Doxygen 1.7.6.1.