22 #ifndef XAPIAN_INCLUDED_QUERYOPTIMISER_H
23 #define XAPIAN_INCLUDED_QUERYOPTIMISER_H
database class declarations
Abstract base class for leaf postlists.
LeafPostList * open_post_list(const std::string &term, Xapian::termcount wqf, double factor, bool need_positions, bool in_synonym, QueryOptimiser *qopt, bool lazy_weight)
PostList * make_synonym_postlist(PostList *or_pl, MultiMatch *matcher, double factor, bool wdf_disjoint)
Convert a postlist into a synonym postlist.
bool full_db_has_positions() const
Xapian::termcount get_total_subqs() const
Xapian::termcount total_subqs
How many weighted leaf subqueries there are.
LeafPostList * open_lazy_post_list(const std::string &term, Xapian::termcount wqf, double factor)
QueryOptimiser(const QueryOptimiser &)
Prevent copying.
void operator=(const QueryOptimiser &)
Prevent assignment.
const LeafPostList * get_hint_postlist() const
PostList * make_synonym_postlist(PostList *pl, double factor, bool wdf_disjoint)
QueryOptimiser(const Xapian::Database::Internal &db_, LocalSubMatch &localsubmatch_, MultiMatch *matcher_, Xapian::doccount shard_index_)
LeafPostList * open_post_list(const std::string &term, Xapian::termcount wqf, double factor)
void set_hint_postlist(LeafPostList *new_hint)
void destroy_postlist(PostList *pl)
bool full_db_has_positions() const
Xapian::doccount shard_index
LocalSubMatch & localsubmatch
void set_total_subqs(Xapian::termcount n)
const Xapian::Database::Internal & db
Base class for databases.
Abstract base class for postlists.
SubMatch class for a local database.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Abstract base class for postlists.