xapian-core  1.4.26
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Xapian::QueryParser::Internal Class Reference

#include <queryparser_internal.h>

+ Inheritance diagram for Xapian::QueryParser::Internal:
+ Collaboration diagram for Xapian::QueryParser::Internal:

Public Member Functions

 Internal ()
 
Query parse_query (const string &query_string, unsigned int flags, const string &default_prefix)
 
- Public Member Functions inherited from Xapian::Internal::intrusive_base
 intrusive_base ()
 Construct with no references. More...
 

Private Member Functions

void add_prefix (const string &field, const string &prefix)
 
void add_prefix (const string &field, Xapian::FieldProcessor *proc)
 
void add_boolean_prefix (const string &field, const string &prefix, const string *grouping)
 
void add_boolean_prefix (const string &field, Xapian::FieldProcessor *proc, const string *grouping)
 
std::string parse_term (Utf8Iterator &it, const Utf8Iterator &end, bool try_word_break, bool &needs_word_break, bool &was_acronym)
 

Private Attributes

Stem stemmer
 
stem_strategy stem_action
 
Xapian::Internal::opt_intrusive_ptr< const Stopperstopper
 
Query::op default_op
 
const char * errmsg
 
Database db
 
list< string > stoplist
 
multimap< string, string > unstem
 
map< string, FieldInfofield_map
 
list< RangeProcrangeprocs
 
string corrected_query
 
Xapian::termcount max_wildcard_expansion
 
Xapian::termcount max_partial_expansion
 
int max_wildcard_type
 
int max_partial_type
 

Friends

class QueryParser
 
class ::State
 

Additional Inherited Members

- Public Attributes inherited from Xapian::Internal::intrusive_base
unsigned _refs
 Reference count. More...
 

Detailed Description

Definition at line 83 of file queryparser_internal.h.

Constructor & Destructor Documentation

◆ Internal()

Xapian::QueryParser::Internal::Internal ( )
inline

Definition at line 126 of file queryparser_internal.h.

Member Function Documentation

◆ add_boolean_prefix() [1/2]

void QueryParser::Internal::add_boolean_prefix ( const string &  field,
const string &  prefix,
const string *  grouping 
)
private

Definition at line 681 of file queryparser_internal.cc.

References BOOLEAN, and BOOLEAN_EXCLUSIVE.

◆ add_boolean_prefix() [2/2]

void QueryParser::Internal::add_boolean_prefix ( const string &  field,
Xapian::FieldProcessor proc,
const string *  grouping 
)
private

Definition at line 706 of file queryparser_internal.cc.

References BOOLEAN, and BOOLEAN_EXCLUSIVE.

◆ add_prefix() [1/2]

void QueryParser::Internal::add_prefix ( const string &  field,
const string &  prefix 
)
private

Definition at line 647 of file queryparser_internal.cc.

References NON_BOOLEAN.

◆ add_prefix() [2/2]

void QueryParser::Internal::add_prefix ( const string &  field,
Xapian::FieldProcessor proc 
)
private

Definition at line 664 of file queryparser_internal.cc.

References NON_BOOLEAN.

◆ parse_query()

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

◆ parse_term()

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

Friends And Related Function Documentation

◆ ::State

friend class ::State
friend

Definition at line 85 of file queryparser_internal.h.

◆ QueryParser

friend class QueryParser
friend

Definition at line 84 of file queryparser_internal.h.

Member Data Documentation

◆ corrected_query

string Xapian::QueryParser::Internal::corrected_query
private

Definition at line 101 of file queryparser_internal.h.

◆ db

Database Xapian::QueryParser::Internal::db
private

Definition at line 91 of file queryparser_internal.h.

Referenced by State::get_database().

◆ default_op

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

Definition at line 89 of file queryparser_internal.h.

◆ errmsg

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

Definition at line 90 of file queryparser_internal.h.

◆ field_map

map<string, FieldInfo> Xapian::QueryParser::Internal::field_map
private

Definition at line 97 of file queryparser_internal.h.

◆ max_partial_expansion

Xapian::termcount Xapian::QueryParser::Internal::max_partial_expansion
private

Definition at line 105 of file queryparser_internal.h.

Referenced by State::get_max_partial_expansion().

◆ max_partial_type

int Xapian::QueryParser::Internal::max_partial_type
private

Definition at line 109 of file queryparser_internal.h.

Referenced by State::get_max_partial_type().

◆ max_wildcard_expansion

Xapian::termcount Xapian::QueryParser::Internal::max_wildcard_expansion
private

Definition at line 103 of file queryparser_internal.h.

Referenced by State::get_max_wildcard_expansion().

◆ max_wildcard_type

int Xapian::QueryParser::Internal::max_wildcard_type
private

Definition at line 107 of file queryparser_internal.h.

Referenced by State::get_max_wildcard_type().

◆ rangeprocs

list<RangeProc> Xapian::QueryParser::Internal::rangeprocs
private

Definition at line 99 of file queryparser_internal.h.

Referenced by State::range().

◆ stem_action

stem_strategy Xapian::QueryParser::Internal::stem_action
private

Definition at line 87 of file queryparser_internal.h.

◆ stemmer

Stem Xapian::QueryParser::Internal::stemmer
private

Definition at line 86 of file queryparser_internal.h.

Referenced by State::stem_term().

◆ stoplist

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

◆ stopper

Xapian::Internal::opt_intrusive_ptr<const Stopper> Xapian::QueryParser::Internal::stopper
private

Definition at line 88 of file queryparser_internal.h.

Referenced by State::get_stopper(), and State::is_stopword().

◆ unstem

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

Definition at line 93 of file queryparser_internal.h.

Referenced by State::add_to_unstem().


The documentation for this class was generated from the following files: