Xapian::MSet internals.
More...
#include <msetinternal.h>
|
| | Internal () |
| |
| | Internal (Xapian::doccount first_, Xapian::doccount matches_upper_bound_, Xapian::doccount matches_lower_bound_, Xapian::doccount matches_estimated_, Xapian::doccount uncollapsed_upper_bound_, Xapian::doccount uncollapsed_lower_bound_, Xapian::doccount uncollapsed_estimated_, double max_possible_, double max_attained_, std::vector< Result > &&items_, double percent_scale_factor_) |
| |
| void | set_first (Xapian::doccount first_) |
| |
| void | set_enquire (const Xapian::Enquire::Internal *enquire_) |
| |
| Xapian::Weight::Internal * | get_stats () const |
| |
| void | set_stats (Xapian::Weight::Internal *stats_) |
| |
| double | get_percent_scale_factor () const |
| |
| Xapian::Document | get_document (Xapian::doccount index) const |
| |
| void | fetch (Xapian::doccount first, Xapian::doccount last) const |
| |
| void | set_item_weight (Xapian::doccount i, double weight) |
| |
| int | convert_to_percent (double weight) const |
| |
| void | unshard_docids (Xapian::doccount shard, Xapian::doccount n_shards) |
| |
| void | merge_stats (const Internal *o, bool collapsing) |
| |
| std::string | snippet (std::string_view text, size_t length, const Xapian::Stem &stemmer, unsigned flags, std::string_view hi_start, std::string_view hi_end, std::string_view omit) const |
| |
| std::string | serialise () const |
| | Serialise this object. More...
|
| |
| void | unserialise (const char *p, const char *p_end) |
| | Unserialise a serialised Xapian::MSet::Internal object. More...
|
| |
| std::string | get_description () const |
| | Return a string describing this object. More...
|
| |
| | intrusive_base () |
| | Construct with no references. More...
|
| |
Xapian::MSet internals.
Definition at line 44 of file msetinternal.h.
◆ Internal() [1/3]
| Xapian::MSet::Internal::Internal |
( |
const Internal & |
| ) |
|
|
privatedelete |
◆ Internal() [2/3]
| Xapian::MSet::Internal::Internal |
( |
| ) |
|
|
inline |
◆ Internal() [3/3]
| Xapian::MSet::Internal::Internal |
( |
Xapian::doccount |
first_, |
|
|
Xapian::doccount |
matches_upper_bound_, |
|
|
Xapian::doccount |
matches_lower_bound_, |
|
|
Xapian::doccount |
matches_estimated_, |
|
|
Xapian::doccount |
uncollapsed_upper_bound_, |
|
|
Xapian::doccount |
uncollapsed_lower_bound_, |
|
|
Xapian::doccount |
uncollapsed_estimated_, |
|
|
double |
max_possible_, |
|
|
double |
max_attained_, |
|
|
std::vector< Result > && |
items_, |
|
|
double |
percent_scale_factor_ |
|
) |
| |
|
inline |
◆ convert_to_percent()
| int Xapian::MSet::Internal::convert_to_percent |
( |
double |
weight | ) |
const |
◆ fetch()
◆ get_description()
| string Xapian::MSet::Internal::get_description |
( |
| ) |
const |
◆ get_document()
◆ get_percent_scale_factor()
| double Xapian::MSet::Internal::get_percent_scale_factor |
( |
| ) |
const |
|
inline |
◆ get_stats()
◆ merge_stats()
| void Xapian::MSet::Internal::merge_stats |
( |
const Internal * |
o, |
|
|
bool |
collapsing |
|
) |
| |
Definition at line 491 of file mset.cc.
References Assert, matches_estimated, matches_lower_bound, matches_upper_bound, max_attained, max_possible, percent_scale_factor, snippet_bg_relevance, uncollapsed_estimated, uncollapsed_lower_bound, and uncollapsed_upper_bound.
◆ operator=()
| void Xapian::MSet::Internal::operator= |
( |
const Internal & |
| ) |
|
|
privatedelete |
◆ serialise()
| string Xapian::MSet::Internal::serialise |
( |
| ) |
const |
◆ set_enquire()
◆ set_first()
◆ set_item_weight()
| void Xapian::MSet::Internal::set_item_weight |
( |
Xapian::doccount |
i, |
|
|
double |
weight |
|
) |
| |
◆ set_stats()
◆ snippet()
| string Xapian::MSet::Internal::snippet |
( |
std::string_view |
text, |
|
|
size_t |
length, |
|
|
const Xapian::Stem & |
stemmer, |
|
|
unsigned |
flags, |
|
|
std::string_view |
hi_start, |
|
|
std::string_view |
hi_end, |
|
|
std::string_view |
omit |
|
) |
| const |
Definition at line 828 of file termgenerator_internal.cc.
References Xapian::check_query(), Xapian::check_term(), Xapian::Unicode::Internal::get_category(), if(), is_ngram_enabled(), Xapian::Unicode::is_whitespace(), Xapian::parse_terms(), Xapian::SnipPipe::pump(), query(), Xapian::MSet::SNIPPET_BACKGROUND_MODEL, stemmer, term, and Xapian::Unicode::UPPERCASE_LETTER.
◆ unserialise()
| void Xapian::MSet::Internal::unserialise |
( |
const char * |
p, |
|
|
const char * |
p_end |
|
) |
| |
◆ unshard_docids()
◆ ::Matcher
◆ MSet
◆ MSetIterator
◆ enquire
◆ first
◆ items
| std::vector<Result> Xapian::MSet::Internal::items |
|
private |
◆ matches_estimated
◆ matches_lower_bound
◆ matches_upper_bound
◆ max_attained
| double Xapian::MSet::Internal::max_attained = 0 |
|
private |
◆ max_possible
| double Xapian::MSet::Internal::max_possible = 0 |
|
private |
◆ percent_scale_factor
| double Xapian::MSet::Internal::percent_scale_factor = 0 |
|
private |
◆ snippet_bg_relevance
| std::unordered_map<std::string, double> Xapian::MSet::Internal::snippet_bg_relevance |
|
mutableprivate |
◆ stats
◆ uncollapsed_estimated
◆ uncollapsed_lower_bound
◆ uncollapsed_upper_bound
The documentation for this class was generated from the following files: