xapian-core
1.4.26
|
#include <queryinternal.h>
Public Member Functions | |
QueryScaleWeight (double factor, const Query &subquery_) | |
PostingIterator::Internal * | postlist (QueryOptimiser *qopt, double factor) const |
termcount | get_length () const |
void | serialise (std::string &result) const |
Xapian::Query::op | get_type () const |
size_t | get_num_subqueries () const |
const Query | get_subquery (size_t n) 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 |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
intrusive_base () | |
Construct with no references. More... | |
Private Attributes | |
double | scale_factor |
Query | subquery |
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 85 of file queryinternal.h.
Xapian::Internal::QueryScaleWeight::QueryScaleWeight | ( | double | factor, |
const Query & | subquery_ | ||
) |
Definition at line 733 of file queryinternal.cc.
References rare, and scale_factor.
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 1432 of file queryinternal.cc.
References Xapian::Query::internal, and subquery.
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 759 of file queryinternal.cc.
References Assert, Xapian::Query::internal, scale_factor, Xapian::Internal::str(), and subquery.
|
inlinevirtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 95 of file queryinternal.h.
References Xapian::Internal::QueryTerm::gather_terms(), Xapian::Internal::QueryTerm::get_description(), Xapian::Query::Internal::get_num_subqueries(), Xapian::Query::Internal::get_subquery(), Xapian::Internal::QueryTerm::get_type(), Xapian::Query::internal, Xapian::Internal::QueryTerm::serialise(), XAPIAN_NOEXCEPT, and XAPIAN_PURE_FUNCTION.
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 747 of file queryinternal.cc.
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 753 of file queryinternal.cc.
References subquery.
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 741 of file queryinternal.cc.
References Xapian::Query::OP_SCALE_WEIGHT.
Referenced by Xapian::Internal::QueryBranch::do_synonym().
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 795 of file queryinternal.cc.
References Xapian::Query::internal, LOGCALL, RETURN, scale_factor, and subquery.
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 1509 of file queryinternal.cc.
References Assert, Xapian::Query::internal, scale_factor, serialise_double(), and subquery.
|
private |
Definition at line 86 of file queryinternal.h.
Referenced by get_description(), postlist(), QueryScaleWeight(), and serialise().
|
private |
Definition at line 88 of file queryinternal.h.
Referenced by gather_terms(), get_description(), get_subquery(), postlist(), and serialise().