xapian-core
1.4.27
|
#include <queryinternal.h>
Public Member Functions | |
size_t | get_window () const |
Query::Internal * | done () |
Public Member Functions inherited from Xapian::Internal::QueryAndLike | |
void | add_subquery (const Xapian::Query &subquery) |
PostingIterator::Internal * | postlist (QueryOptimiser *qopt, double factor) const |
void | postlist_sub_and_like (AndContext &ctx, QueryOptimiser *qopt, double factor) const |
Public Member Functions inherited from Xapian::Internal::QueryBranch | |
termcount | get_length () const |
void | serialise (std::string &result) const |
void | gather_terms (void *void_terms) const |
Xapian::Query::op | get_type () const |
size_t | get_num_subqueries () const |
const Query | get_subquery (size_t n) const |
Public Member Functions inherited from Xapian::Query::Internal | |
Internal () | |
virtual | ~Internal () |
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 std::string | get_description () const =0 |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
intrusive_base () | |
Construct with no references. More... | |
Protected Member Functions | |
QueryWindowed (size_t n_subqueries, Xapian::termcount window_) | |
void | postlist_windowed (Xapian::Query::op op, AndContext &ctx, QueryOptimiser *qopt, double factor) const |
Protected Member Functions inherited from Xapian::Internal::QueryAndLike | |
QueryAndLike (size_t num_subqueries_) | |
Protected Member Functions inherited from Xapian::Internal::QueryBranch | |
QueryBranch (size_t n_subqueries) | |
void | serialise_ (std::string &result, Xapian::termcount parameter=0) const |
void | do_or_like (OrContext &ctx, QueryOptimiser *qopt, double factor, Xapian::termcount elite_set_size=0, size_t first=0) const |
PostList * | do_synonym (QueryOptimiser *qopt, double factor) const |
PostList * | do_max (QueryOptimiser *qopt, double factor) const |
const std::string | get_description_helper (const char *op, Xapian::termcount window=0) const |
Protected Attributes | |
Xapian::termcount | window |
Protected Attributes inherited from Xapian::Internal::QueryBranch | |
QueryVector | subqueries |
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 319 of file queryinternal.h.
|
inlineprotected |
Definition at line 323 of file queryinternal.h.
|
virtual |
Reimplemented from Xapian::Internal::QueryAndLike.
Definition at line 1423 of file queryinternal.cc.
References Xapian::Internal::QueryAndLike::done().
|
inline |
Definition at line 330 of file queryinternal.h.
Referenced by Xapian::check_query().
|
protected |
Definition at line 1756 of file queryinternal.cc.
References Xapian::Internal::AndContext::add_pos_filter(), Xapian::Internal::Context::add_postlist(), Assert, QueryOptimiser::db, QueryOptimiser::full_db_has_positions(), Xapian::Database::Internal::has_positions(), Xapian::Query::LEAF_TERM, QueryOptimiser::need_positions, Xapian::Internal::QueryAndLike::postlist_sub_and_like(), and Xapian::Internal::Context::shrink().
Referenced by Xapian::Internal::QueryNear::postlist_sub_and_like(), and Xapian::Internal::QueryPhrase::postlist_sub_and_like().
|
protected |
Definition at line 321 of file queryinternal.h.