xapian-core
1.4.26
|
Public Member Functions | |
Context (QueryOptimiser *qopt_, size_t reserve) | |
~Context () | |
void | add_postlist (PostList *pl) |
bool | empty () const |
size_t | size () const |
void | shrink (size_t new_size) |
Protected Attributes | |
QueryOptimiser * | qopt |
vector< PostList * > | pls |
Definition at line 121 of file queryinternal.cc.
Xapian::Internal::Context::Context | ( | QueryOptimiser * | qopt_, |
size_t | reserve | ||
) |
Definition at line 147 of file queryinternal.cc.
References pls.
Xapian::Internal::Context::~Context | ( | ) |
Definition at line 166 of file queryinternal.cc.
References shrink().
|
inline |
Definition at line 132 of file queryinternal.cc.
Referenced by Xapian::Internal::QueryWildcard::postlist(), Xapian::Query::Internal::postlist_sub_and_like(), Xapian::Query::Internal::postlist_sub_or_like(), Xapian::Query::Internal::postlist_sub_xor(), and Xapian::Internal::QueryWindowed::postlist_windowed().
|
inline |
Definition at line 136 of file queryinternal.cc.
Referenced by Xapian::Internal::QueryWildcard::postlist().
void Xapian::Internal::Context::shrink | ( | size_t | new_size | ) |
Definition at line 154 of file queryinternal.cc.
References AssertRel, QueryOptimiser::destroy_postlist(), pls, and qopt.
Referenced by Xapian::Internal::QueryWindowed::postlist_windowed(), Xapian::Internal::OrContext::select_elite_set(), Xapian::Internal::OrContext::select_most_frequent(), and ~Context().
|
inline |
Definition at line 140 of file queryinternal.cc.
Referenced by Xapian::Internal::QueryBranch::do_or_like(), and Xapian::Internal::QueryWildcard::postlist().
|
protected |
Definition at line 125 of file queryinternal.cc.
Referenced by Xapian::Internal::AndContext::add_pos_filter(), Context(), Xapian::Internal::AndContext::PosFilter::PosFilter(), Xapian::Internal::OrContext::postlist(), Xapian::Internal::XorContext::postlist(), Xapian::Internal::AndContext::PosFilter::postlist(), Xapian::Internal::AndContext::postlist(), Xapian::Internal::OrContext::postlist_max(), Xapian::Internal::OrContext::select_elite_set(), Xapian::Internal::OrContext::select_most_frequent(), and shrink().
|
protected |
Definition at line 123 of file queryinternal.cc.
Referenced by Xapian::Internal::AndContext::get_maybe_ctx(), Xapian::Internal::AndContext::get_not_ctx(), Xapian::Internal::OrContext::postlist(), Xapian::Internal::XorContext::postlist(), Xapian::Internal::AndContext::postlist(), Xapian::Internal::OrContext::postlist_max(), and shrink().