xapian-core
1.4.26
|
A group of terms separated only by whitespace. More...
Public Member Functions | |
~TermGroup () | |
void | add_term (Term *term) |
Add a Term object to this TermGroup object. More... | |
void | set_empty_ok () |
Set the empty_ok flag. More... | |
Query * | as_group (State *state) const |
Convert to a Xapian::Query * using default_op. More... | |
Static Public Member Functions | |
static TermGroup * | create (Term *t1, Term *t2) |
Factory function - ensures heap allocation. More... | |
Private Member Functions | |
TermGroup (Term *t1, Term *t2) | |
Private Attributes | |
vector< Term * > | terms |
bool | empty_ok |
Controls how to handle a group where all terms are stopwords. More... | |
A group of terms separated only by whitespace.
Definition at line 890 of file queryparser_internal.cc.
Definition at line 900 of file queryparser_internal.cc.
|
inline |
Definition at line 911 of file queryparser_internal.cc.
|
inline |
Add a Term object to this TermGroup object.
Definition at line 918 of file queryparser_internal.cc.
Referenced by yy_reduce().
Convert to a Xapian::Query * using default_op.
Definition at line 930 of file queryparser_internal.cc.
References State::add_to_stoplist(), State::default_op(), State::flags, State::get_database(), State::get_stopper(), is_positional(), startswith(), State::stoplist_resize(), State::stoplist_size(), Xapian::Database::synonym_keys_begin(), Xapian::Database::synonym_keys_end(), Xapian::Database::synonyms_begin(), and Xapian::Database::synonyms_end().
Referenced by yy_reduce().
Factory function - ensures heap allocation.
Definition at line 907 of file queryparser_internal.cc.
Referenced by yy_reduce().
|
inline |
Set the empty_ok flag.
Definition at line 923 of file queryparser_internal.cc.
Referenced by yy_reduce().
|
private |
Controls how to handle a group where all terms are stopwords.
If true, then as_group() returns NULL. If false, then the stopword status of the terms is ignored.
Definition at line 898 of file queryparser_internal.cc.
|
private |
Definition at line 891 of file queryparser_internal.cc.