#include <queryparser_internal.h>


Public Member Functions | |
| Internal () | |
| Query | parse_query (const string &query_string, unsigned int flags, const string &default_prefix) |
Private Member Functions | |
| void | add_prefix (const string &field, const string &prefix, filter_type type) |
| std::string | parse_term (Utf8Iterator &it, const Utf8Iterator &end, bool cjk_ngram, bool &is_cjk_term, bool &was_acronym) |
Private Attributes | |
| Stem | stemmer |
| stem_strategy | stem_action |
| const Stopper * | stopper |
| Query::op | default_op |
| const char * | errmsg |
| Database | db |
| list< string > | stoplist |
| multimap< string, string > | unstem |
| map< string, PrefixInfo > | prefixmap |
| list< ValueRangeProcessor * > | valrangeprocs |
| string | corrected_query |
| Xapian::termcount | max_wildcard_expansion |
Friends | |
| class | QueryParser |
| class | ::State |
Definition at line 60 of file queryparser_internal.h.
| Xapian::QueryParser::Internal::Internal | ( | ) | [inline] |
Definition at line 90 of file queryparser_internal.h.
| void QueryParser::Internal::add_prefix | ( | const string & | field, | |
| const string & | prefix, | |||
| filter_type | type | |||
| ) | [private] |
| Query Xapian::QueryParser::Internal::parse_query | ( | const string & | query_string, | |
| unsigned int | flags, | |||
| const string & | default_prefix | |||
| ) |
| string QueryParser::Internal::parse_term | ( | Utf8Iterator & | it, | |
| const Utf8Iterator & | end, | |||
| bool | cjk_ngram, | |||
| bool & | is_cjk_term, | |||
| bool & | was_acronym | |||
| ) | [private] |
Definition at line 577 of file queryparser_internal.cc.
References Xapian::Unicode::append_utf8(), Xapian::check_infix(), Xapian::check_infix_digit(), CJK::codepoint_is_cjk(), db, CJK::get_cjk(), Xapian::is_digit(), is_suffix(), Xapian::Unicode::is_wordchar(), Xapian::Database::term_exists(), Xapian::Unicode::tolower(), Xapian::U_isupper(), and Xapian::UNICODE_IGNORE.
friend class ::State [friend] |
Definition at line 62 of file queryparser_internal.h.
friend class QueryParser [friend] |
Definition at line 61 of file queryparser_internal.h.
string Xapian::QueryParser::Internal::corrected_query [private] |
Definition at line 78 of file queryparser_internal.h.
Database Xapian::QueryParser::Internal::db [private] |
Definition at line 68 of file queryparser_internal.h.
Referenced by State::get_database(), and parse_term().
const char* Xapian::QueryParser::Internal::errmsg [private] |
Definition at line 67 of file queryparser_internal.h.
Definition at line 80 of file queryparser_internal.h.
Referenced by State::get_max_wildcard_expansion().
map<string, PrefixInfo> Xapian::QueryParser::Internal::prefixmap [private] |
Definition at line 64 of file queryparser_internal.h.
Stem Xapian::QueryParser::Internal::stemmer [private] |
list<string> Xapian::QueryParser::Internal::stoplist [private] |
Definition at line 69 of file queryparser_internal.h.
Referenced by State::add_to_stoplist(), State::stoplist_resize(), and State::stoplist_size().
const Stopper* Xapian::QueryParser::Internal::stopper [private] |
Definition at line 65 of file queryparser_internal.h.
Referenced by State::get_stopper(), and State::is_stopword().
multimap<string, string> Xapian::QueryParser::Internal::unstem [private] |
list<ValueRangeProcessor *> Xapian::QueryParser::Internal::valrangeprocs [private] |