22 #ifndef XAPIAN_INCLUDED_REMOTESUBMATCH_H
23 #define XAPIAN_INCLUDED_REMOTESUBMATCH_H
57 const vector<Xapian::Internal::opt_intrusive_ptr<Xapian::MatchSpy>> &
matchspies;
62 bool decreasing_relevance_,
RemoteDatabase is the baseclass for remote database implementations.
void get_mset(Xapian::MSet &mset, const vector< Xapian::Internal::opt_intrusive_ptr< Xapian::MatchSpy >> &matchspies)
Get the MSet from the remote server.
Class for performing matching on a remote database.
bool decreasing_relevance
Is the sort order such the relevance decreases down the MSet?
void operator=(const RemoteSubMatch &)
Don't allow assignment.
double get_percent_factor() const
Get percentage factor - only valid after get_postlist().
const vector< Xapian::Internal::opt_intrusive_ptr< Xapian::MatchSpy > > & matchspies
The matchspies to use.
void start_match(Xapian::doccount first, Xapian::doccount maxitems, Xapian::doccount check_at_least, Xapian::Weight::Internal &total_stats)
Start the match.
double percent_factor
The factor to use to convert weights to percentages.
void get_mset(Xapian::MSet &mset)
Short-cut for single remote match.
PostList * get_postlist(MultiMatch *matcher, Xapian::termcount *total_subqs_ptr, Xapian::Weight::Internal &total_stats)
Get PostList.
bool prepare_match(bool nowait, Xapian::Weight::Internal &total_stats)
Fetch and collate statistics.
RemoteSubMatch(const RemoteSubMatch &)
Don't allow copying.
RemoteDatabase * db
The remote database.
Xapian::doccount uncollapsed_upper_bound
uncollapsed_upper_bound from the remote MSet.
Xapian::doccount get_uncollapsed_upper_bound() const
Get uncollapsed_upper_bound from the remote MSet.
Class representing a list of search results.
Abstract base class for postlists.
Class to hold statistics for a given collection.
The Xapian namespace contains public interfaces for the Xapian library.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
RemoteDatabase is the baseclass for remote database implementations.
base class for sub-matchers