xapian-core
1.4.27
|
#include <queryinternal.h>
Public Member Functions | |
QueryTerm () | |
QueryTerm (const std::string &term_, Xapian::termcount wqf_, Xapian::termpos pos_) | |
Xapian::Query::op | get_type () const |
const std::string & | get_term () const |
PostingIterator::Internal * | postlist (QueryOptimiser *qopt, double factor) const |
termcount | get_length () const |
void | serialise (std::string &result) const |
std::string | get_description () const |
void | gather_terms (void *void_terms) const |
Public Member Functions inherited from Xapian::Query::Internal | |
Internal () | |
virtual | ~Internal () |
virtual void | postlist_sub_and_like (Xapian::Internal::AndContext &ctx, QueryOptimiser *qopt, double factor) const |
virtual void | postlist_sub_or_like (Xapian::Internal::OrContext &ctx, QueryOptimiser *qopt, double factor) const |
virtual void | postlist_sub_xor (Xapian::Internal::XorContext &ctx, QueryOptimiser *qopt, double factor) const |
virtual size_t | get_num_subqueries () const |
virtual const Query | get_subquery (size_t n) const |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
intrusive_base () | |
Construct with no references. More... | |
Private Attributes | |
std::string | term |
Xapian::termcount | wqf |
Xapian::termpos | pos |
Additional Inherited Members | |
Static Public Member Functions inherited from Xapian::Query::Internal | |
static Query::Internal * | unserialise (const char **p, const char *end, const Registry ®) |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
unsigned | _refs |
Reference count. More... | |
Definition at line 37 of file queryinternal.h.
|
inline |
Definition at line 46 of file queryinternal.h.
|
inline |
Definition at line 48 of file queryinternal.h.
References get_type(), XAPIAN_NOEXCEPT, and XAPIAN_PURE_FUNCTION.
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 802 of file queryinternal.cc.
Referenced by get_length(), Xapian::Internal::QueryScaleWeight::get_length(), and Xapian::Internal::QueryBranch::QueryBranch().
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 685 of file queryinternal.cc.
References description_append(), and Xapian::Internal::str().
Referenced by Xapian::Internal::QueryWildcard::change_combiner(), get_length(), Xapian::Internal::QueryScaleWeight::get_length(), Xapian::Internal::QueryAnd::QueryAnd(), Xapian::Internal::QueryAndMaybe::QueryAndMaybe(), Xapian::Internal::QueryAndNot::QueryAndNot(), Xapian::Internal::QueryEliteSet::QueryEliteSet(), Xapian::Internal::QueryFilter::QueryFilter(), Xapian::Internal::QueryInvalid::QueryInvalid(), Xapian::Internal::QueryMax::QueryMax(), Xapian::Internal::QueryNear::QueryNear(), Xapian::Internal::QueryOr::QueryOr(), Xapian::Internal::QueryPhrase::QueryPhrase(), Xapian::Internal::QuerySynonym::QuerySynonym(), Xapian::Internal::QueryValueGE::QueryValueGE(), Xapian::Internal::QueryValueLE::QueryValueLE(), Xapian::Internal::QueryValueRange::QueryValueRange(), and Xapian::Internal::QueryXor::QueryXor().
|
inlinevirtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 59 of file queryinternal.h.
References gather_terms(), get_description(), serialise(), and wqf.
Referenced by Xapian::Internal::QueryWildcard::get_pattern(), and Xapian::Internal::QueryBranch::QueryBranch().
|
inline |
Definition at line 55 of file queryinternal.h.
References postlist(), and term.
Referenced by Xapian::check_query().
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 679 of file queryinternal.cc.
References Xapian::Query::LEAF_MATCH_ALL, and Xapian::Query::LEAF_TERM.
Referenced by Xapian::Internal::QueryScaleWeight::get_length(), Xapian::Internal::QueryBranch::QueryBranch(), Xapian::Internal::QueryInvalid::QueryInvalid(), QueryTerm(), Xapian::Internal::QueryValueGE::QueryValueGE(), Xapian::Internal::QueryValueLE::QueryValueLE(), Xapian::Internal::QueryValueRange::QueryValueRange(), and Xapian::Internal::QueryWildcard::QueryWildcard().
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 769 of file queryinternal.cc.
References QueryOptimiser::inc_total_subqs(), LOGCALL, QueryOptimiser::open_post_list(), and RETURN.
Referenced by Xapian::Internal::QueryWildcard::get_pattern(), get_term(), Xapian::Internal::QueryAndLike::QueryAndLike(), Xapian::Internal::QueryAndMaybe::QueryAndMaybe(), Xapian::Internal::QueryAndNot::QueryAndNot(), Xapian::Internal::QueryEliteSet::QueryEliteSet(), Xapian::Internal::QueryFilter::QueryFilter(), Xapian::Internal::QueryInvalid::QueryInvalid(), Xapian::Internal::QueryMax::QueryMax(), Xapian::Internal::QueryOr::QueryOr(), Xapian::Internal::QuerySynonym::QuerySynonym(), Xapian::Internal::QueryValueGE::QueryValueGE(), Xapian::Internal::QueryValueLE::QueryValueLE(), Xapian::Internal::QueryValueRange::QueryValueRange(), and Xapian::Internal::QueryXor::QueryXor().
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 1437 of file queryinternal.cc.
References AssertEq, and encode_length().
Referenced by get_length(), Xapian::Internal::QueryScaleWeight::get_length(), Xapian::Internal::QueryWildcard::get_pattern(), Xapian::Internal::QueryBranch::QueryBranch(), Xapian::Internal::QueryEliteSet::QueryEliteSet(), Xapian::Internal::QueryInvalid::QueryInvalid(), Xapian::Internal::QueryNear::QueryNear(), Xapian::Internal::QueryPhrase::QueryPhrase(), Xapian::Internal::QueryValueGE::QueryValueGE(), Xapian::Internal::QueryValueLE::QueryValueLE(), and Xapian::Internal::QueryValueRange::QueryValueRange().
|
private |
Definition at line 42 of file queryinternal.h.
|
private |
Definition at line 38 of file queryinternal.h.
Referenced by get_term().
|
private |
Definition at line 40 of file queryinternal.h.
Referenced by get_length().