xapian-core
1.4.26
|
Parser State shared between the lexer and the parser. More...
Public Member Functions | |
State (QueryParser::Internal *qpi_, unsigned flags_) | |
string | stem_term (const string &term) |
void | add_to_stoplist (const Term *term) |
void | add_to_unstem (const string &term, const string &unstemmed) |
Term * | range (const string &a, const string &b) |
Query::op | default_op () const |
bool | is_stopword (const Term *term) const |
Database | get_database () const |
const Stopper * | get_stopper () const |
size_t | stoplist_size () const |
void | stoplist_resize (size_t s) |
Xapian::termcount | get_max_wildcard_expansion () const |
int | get_max_wildcard_type () const |
Xapian::termcount | get_max_partial_expansion () const |
int | get_max_partial_type () const |
Public Attributes | |
Query | query |
const char * | error = NULL |
unsigned | flags |
Query::op | effective_default_op |
Private Attributes | |
QueryParser::Internal * | qpi |
Parser State shared between the lexer and the parser.
Definition at line 230 of file queryparser_internal.cc.
|
inline |
Definition at line 239 of file queryparser_internal.cc.
References is_positional().
|
inline |
Definition at line 253 of file queryparser_internal.cc.
References Term::name, and Xapian::QueryParser::Internal::stoplist.
Referenced by TermGroup::as_group().
|
inline |
Definition at line 257 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::unstem.
|
inline |
Definition at line 288 of file queryparser_internal.cc.
Referenced by TermGroup::as_group().
|
inline |
Definition at line 296 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::db.
Referenced by TermGroup::as_group().
|
inline |
Definition at line 320 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::max_partial_expansion.
Referenced by Term::as_partial_query().
|
inline |
Definition at line 324 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::max_partial_type.
Referenced by Term::as_partial_query().
|
inline |
Definition at line 312 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::max_wildcard_expansion.
Referenced by Term::as_wildcarded_query().
|
inline |
Definition at line 316 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::max_wildcard_type.
Referenced by Term::as_wildcarded_query().
|
inline |
Definition at line 300 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::stopper.
Referenced by TermGroup::as_group().
|
inline |
Definition at line 292 of file queryparser_internal.cc.
References Term::name, and Xapian::QueryParser::Internal::stopper.
|
inline |
Definition at line 261 of file queryparser_internal.cc.
References Xapian::Internal::QueryValueBase::get_slot(), Xapian::Query::get_type(), Xapian::Query::internal, Xapian::Query::LEAF_TERM, Xapian::Query::OP_INVALID, Xapian::Query::OP_VALUE_GE, Xapian::Query::OP_VALUE_LE, Xapian::Query::OP_VALUE_RANGE, Xapian::QueryParser::Internal::rangeprocs, and Xapian::Internal::str().
Referenced by Xapian::QueryParser::Internal::parse_query().
|
inline |
Definition at line 249 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::stemmer.
|
inline |
Definition at line 308 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::stoplist.
Referenced by TermGroup::as_group().
|
inline |
Definition at line 304 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::stoplist.
Referenced by TermGroup::as_group().
Query::op State::effective_default_op |
Definition at line 237 of file queryparser_internal.cc.
const char* State::error = NULL |
Definition at line 235 of file queryparser_internal.cc.
Referenced by Xapian::QueryParser::Internal::parse_query().
unsigned State::flags |
Definition at line 236 of file queryparser_internal.cc.
Referenced by TermGroup::as_group(), and Terms::create().
|
private |
Definition at line 231 of file queryparser_internal.cc.
Query State::query |
Definition at line 234 of file queryparser_internal.cc.
Referenced by Xapian::QueryParser::Internal::parse_query().