xapian-core
1.4.26
|
Public Member Functions | |
OrContext (QueryOptimiser *qopt_, size_t reserve) | |
void | select_elite_set (size_t set_size, size_t out_of) |
Select the best set_size postlists from the last out_of added. More... | |
void | select_most_frequent (size_t set_size) |
Select the set_size postlists with the highest term frequency. More... | |
PostList * | postlist () |
PostList * | postlist_max () |
Public Member Functions inherited from Xapian::Internal::Context | |
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) |
Additional Inherited Members | |
Protected Attributes inherited from Xapian::Internal::Context | |
QueryOptimiser * | qopt |
vector< PostList * > | pls |
Definition at line 171 of file queryinternal.cc.
|
inline |
Definition at line 173 of file queryinternal.cc.
PostList * Xapian::Internal::OrContext::postlist | ( | ) |
Definition at line 209 of file queryinternal.cc.
References Assert, QueryOptimiser::db_size, QueryOptimiser::matcher, Xapian::Internal::Context::pls, and Xapian::Internal::Context::qopt.
Referenced by Xapian::Internal::QueryWildcard::postlist().
PostList * Xapian::Internal::OrContext::postlist_max | ( | ) |
Definition at line 255 of file queryinternal.cc.
References Assert, QueryOptimiser::db_size, QueryOptimiser::matcher, Xapian::Internal::Context::pls, and Xapian::Internal::Context::qopt.
Referenced by Xapian::Internal::QueryWildcard::postlist().
void Xapian::Internal::OrContext::select_elite_set | ( | size_t | set_size, |
size_t | out_of | ||
) |
Select the best set_size postlists from the last out_of added.
Definition at line 187 of file queryinternal.cc.
References Xapian::Internal::Context::pls, and Xapian::Internal::Context::shrink().
Referenced by Xapian::Internal::QueryBranch::do_or_like().
void Xapian::Internal::OrContext::select_most_frequent | ( | size_t | set_size | ) |
Select the set_size postlists with the highest term frequency.
Definition at line 200 of file queryinternal.cc.
References Xapian::Internal::Context::pls, and Xapian::Internal::Context::shrink().
Referenced by Xapian::Internal::QueryWildcard::postlist().