#include <config.h>#include "omqueryinternal.h"#include "debuglog.h"#include "registryinternal.h"#include "serialise.h"#include "serialise-double.h"#include "str.h"#include <xapian/error.h>#include <xapian/postingsource.h>#include <xapian/termiterator.h>#include <xapian/version.h>#include "vectortermlist.h"#include <algorithm>#include "autoptr.h"#include <cfloat>#include <climits>#include <cmath>#include <set>#include <vector>

Go to the source code of this file.
Classes | |
| struct | LessByTermpos |
| class | QUnserial |
| struct | SortPosName |
Functions | |
| static unsigned int | get_min_subqs (Xapian::Query::Internal::op_t op) |
| static unsigned int | get_max_subqs (Xapian::Query::Internal::op_t op) |
| static bool | is_leaf (Xapian::Query::Internal::op_t op) |
| bool | is_distributable (Xapian::Query::Internal::op_t op) |
| static Xapian::Query::Internal * | qint_from_vector (Xapian::Query::op op, const vector< Xapian::Query::Internal * > &vec, Xapian::termcount parameter=0) |
| static Xapian::Query::Internal * | qint_from_vector (Xapian::Query::op op, const vector< Xapian::Query::Internal * > &vec, Xapian::termcount parameter, double dbl_parameter) |
| static unsigned int get_max_subqs | ( | Xapian::Query::Internal::op_t | op | ) | [static] |
Definition at line 82 of file omqueryinternal.cc.
References Assert, Xapian::Query::OP_AND, Xapian::Query::OP_AND_MAYBE, Xapian::Query::OP_AND_NOT, Xapian::Query::OP_ELITE_SET, Xapian::Query::Internal::OP_EXTERNAL_SOURCE, Xapian::Query::OP_FILTER, Xapian::Query::Internal::OP_LEAF, Xapian::Query::OP_NEAR, Xapian::Query::OP_OR, Xapian::Query::OP_PHRASE, Xapian::Query::OP_SCALE_WEIGHT, Xapian::Query::OP_SYNONYM, Xapian::Query::OP_VALUE_GE, Xapian::Query::OP_VALUE_LE, Xapian::Query::OP_VALUE_RANGE, and Xapian::Query::OP_XOR.
Referenced by Xapian::Query::Internal::validate_query().
| static unsigned int get_min_subqs | ( | Xapian::Query::Internal::op_t | op | ) | [static] |
Definition at line 53 of file omqueryinternal.cc.
References Assert, Xapian::Query::OP_AND, Xapian::Query::OP_AND_MAYBE, Xapian::Query::OP_AND_NOT, Xapian::Query::OP_ELITE_SET, Xapian::Query::Internal::OP_EXTERNAL_SOURCE, Xapian::Query::OP_FILTER, Xapian::Query::Internal::OP_LEAF, Xapian::Query::OP_NEAR, Xapian::Query::OP_OR, Xapian::Query::OP_PHRASE, Xapian::Query::OP_SCALE_WEIGHT, Xapian::Query::OP_SYNONYM, Xapian::Query::OP_VALUE_GE, Xapian::Query::OP_VALUE_LE, Xapian::Query::OP_VALUE_RANGE, and Xapian::Query::OP_XOR.
Referenced by Xapian::Query::Internal::validate_query().
| bool is_distributable | ( | Xapian::Query::Internal::op_t | op | ) | [inline] |
Definition at line 118 of file omqueryinternal.cc.
References Xapian::Query::OP_AND, Xapian::Query::OP_OR, Xapian::Query::OP_SYNONYM, and Xapian::Query::OP_XOR.
Referenced by Xapian::Query::Internal::add_subquery(), and Xapian::Query::Internal::add_subquery_nocopy().
| static bool is_leaf | ( | Xapian::Query::Internal::op_t | op | ) | [inline, static] |
Definition at line 112 of file omqueryinternal.cc.
References Xapian::Query::Internal::OP_LEAF.
Referenced by Xapian::Query::Internal::add_subquery(), Xapian::Query::Internal::add_subquery_nocopy(), Xapian::Query::Internal::collapse_subqs(), Xapian::Query::Internal::flatten_subqs(), Xapian::Query::Internal::get_description(), Xapian::Query::Internal::get_length(), SortPosName::operator()(), and Xapian::Query::Internal::validate_query().
| static Xapian::Query::Internal* qint_from_vector | ( | Xapian::Query::op | op, | |
| const vector< Xapian::Query::Internal * > & | vec, | |||
| Xapian::termcount | parameter, | |||
| double | dbl_parameter | |||
| ) | [static] |
Definition at line 516 of file omqueryinternal.cc.
References Xapian::Query::Internal::add_subquery_nocopy(), AssertEq, Xapian::Query::Internal::end_construction(), and Xapian::Query::Internal::set_dbl_parameter().
| static Xapian::Query::Internal* qint_from_vector | ( | Xapian::Query::op | op, | |
| const vector< Xapian::Query::Internal * > & | vec, | |||
| Xapian::termcount | parameter = 0 | |||
| ) | [static] |
Definition at line 499 of file omqueryinternal.cc.
References Xapian::Query::Internal::add_subquery_nocopy(), AssertEq, and Xapian::Query::Internal::end_construction().
Referenced by QUnserial::readcompound().