Xapian::QueryParser::Internal Class Reference

#include <queryparser_internal.h>

Inheritance diagram for Xapian::QueryParser::Internal:

Inheritance graph
[legend]
Collaboration diagram for Xapian::QueryParser::Internal:

Collaboration graph
[legend]
List of all members.

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, bool filter)
std::string parse_term (Utf8Iterator &it, const Utf8Iterator &end, bool &was_acronym)

Private Attributes

Stem stemmer
stem_strategy stem_action
const Stopperstopper
Query::op default_op
const char * errmsg
Database db
list< string > stoplist
multimap< string, string > unstem
map< string, PrefixInfoprefixmap
list< ValueRangeProcessor * > valrangeprocs
string corrected_query

Friends

class QueryParser
class ::State

Detailed Description

Definition at line 57 of file queryparser_internal.h.


Constructor & Destructor Documentation

Xapian::QueryParser::Internal::Internal (  )  [inline]

Definition at line 83 of file queryparser_internal.h.


Member Function Documentation

void QueryParser::Internal::add_prefix ( const string &  field,
const string &  prefix,
bool  filter 
) [private]

Definition at line 446 of file queryparser_internal.cc.

References prefixmap.

string QueryParser::Internal::parse_term ( Utf8Iterator it,
const Utf8Iterator end,
bool &  was_acronym 
) [private]

Definition at line 462 of file queryparser_internal.cc.

References Xapian::Unicode::append_utf8(), Xapian::check_infix(), Xapian::check_infix_digit(), db, Xapian::is_digit(), is_suffix(), Xapian::Unicode::is_wordchar(), Xapian::Database::term_exists(), Xapian::Unicode::tolower(), and Xapian::U_isupper().

Query Xapian::QueryParser::Internal::parse_query ( const string &  query_string,
unsigned int  flags,
const string &  default_prefix 
)


Friends And Related Function Documentation

friend class QueryParser [friend]

Definition at line 58 of file queryparser_internal.h.

friend class ::State [friend]

Definition at line 59 of file queryparser_internal.h.


Member Data Documentation

Stem Xapian::QueryParser::Internal::stemmer [private]

Definition at line 60 of file queryparser_internal.h.

Referenced by State::stem_term().

stem_strategy Xapian::QueryParser::Internal::stem_action [private]

Definition at line 61 of file queryparser_internal.h.

const Stopper* Xapian::QueryParser::Internal::stopper [private]

Definition at line 62 of file queryparser_internal.h.

Referenced by State::is_stopword().

Query::op Xapian::QueryParser::Internal::default_op [private]

Definition at line 63 of file queryparser_internal.h.

Referenced by State::default_op().

const char* Xapian::QueryParser::Internal::errmsg [private]

Definition at line 64 of file queryparser_internal.h.

Database Xapian::QueryParser::Internal::db [private]

Definition at line 65 of file queryparser_internal.h.

Referenced by State::get_database(), and parse_term().

list<string> Xapian::QueryParser::Internal::stoplist [private]

Definition at line 66 of file queryparser_internal.h.

Referenced by State::add_to_stoplist().

multimap<string, string> Xapian::QueryParser::Internal::unstem [private]

Definition at line 67 of file queryparser_internal.h.

Referenced by State::add_to_unstem().

map<string, PrefixInfo> Xapian::QueryParser::Internal::prefixmap [private]

Definition at line 71 of file queryparser_internal.h.

Referenced by add_prefix().

list<ValueRangeProcessor *> Xapian::QueryParser::Internal::valrangeprocs [private]

Definition at line 73 of file queryparser_internal.h.

Referenced by State::value_range().

string Xapian::QueryParser::Internal::corrected_query [private]

Definition at line 75 of file queryparser_internal.h.


The documentation for this class was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.