24 #ifndef OM_HGUARD_MULTIMATCH_H 25 #define OM_HGUARD_MULTIMATCH_H 38 std::vector<Xapian::Internal::intrusive_ptr<SubMatch> >
leaves;
74 const vector<Xapian::Internal::opt_intrusive_ptr<Xapian::MatchSpy>> &
matchspies;
110 double weight_cutoff_,
114 bool sort_value_forward_,
119 bool have_sorter,
bool have_mdecider);
137 recalculate_w_max =
true;
bool full_db_has_positions() const
MultiMatch(const MultiMatch &)
Copying is not permitted.
Abstract base class for postlists.
This class is used to access a database, or a group of databases.
Xapian::Enquire::Internal::sort_setting sort_by
Xapian::valueno collapse_key
const vector< Xapian::Internal::opt_intrusive_ptr< Xapian::MatchSpy > > & matchspies
The matchspies to use.
bool has_positions() const
Does this database have any positional information?
Class representing a list of search results.
const Xapian::Weight * weight
Weighting scheme.
vector< bool > is_remote
Is each sub-database remote?
std::vector< Xapian::Internal::intrusive_ptr< SubMatch > > leaves
Vector of the items.
void operator=(const MultiMatch &)
Assignment is not permitted.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
const Xapian::Database db
Xapian::Enquire::docid_order order
base class for sub-matchers
Class to hold statistics for a given collection.
void recalc_maxweight()
Called by postlists to indicate that they've rearranged themselves and the maxweight now possible is ...
void get_mset(Xapian::doccount first, Xapian::doccount maxitems, Xapian::doccount check_at_least, Xapian::MSet &mset, Xapian::Weight::Internal &stats, const Xapian::MatchDecider *mdecider, const Xapian::KeyMaker *sorter)
Run the match and generate an MSet object.
Base class for matcher decision functor.
bool recalculate_w_max
Internal flag to note that w_max needs to be recalculated while query is running. ...
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
double getorrecalc_maxweight(PostList *pl)
get the maxweight that the postlist pl may return, calling recalc_maxweight if recalculate_w_max is s...
unsigned valueno
The number for a value slot in a document.
Class representing a query.
docid_order
Ordering of docids.
Xapian::doccount collapse_max
Virtual base class for key making functors.
Abstract base class for weighting schemes.