30 ExpandDecider::~ExpandDecider() { }
33 ExpandDeciderAnd::operator()(
const string &term)
const 35 return (*first)(term) && (*second)(term);
39 ExpandDeciderFilterTerms::operator()(
const string &term)
const 45 set<string>::const_iterator i = rejects.find(term);
46 return i == rejects.end();
50 ExpandDeciderFilterPrefix::operator()(
const string &term)
const The Xapian namespace contains public interfaces for the Xapian library.
Allow rejection of terms during ESet generation.
bool startswith(const std::string &s, char pfx)
Various handy helpers which std::string really should provide.