|
xapian-core
2.0.0
|
Result comparison functions. More...
Include dependency graph for msetcmp.cc:Go to the source code of this file.
Functions | |
| template<bool FORWARD_DID> | |
| static bool | msetcmp_by_docid_inline (const Result &a, const Result &b) |
| template<bool FORWARD_DID> | |
| static bool | msetcmp_by_docid (const Result &a, const Result &b) |
| template<bool FORWARD_DID> | |
| static bool | msetcmp_by_relevance (const Result &a, const Result &b) |
| template<bool FORWARD_VALUE, bool FORWARD_DID> | |
| static bool | msetcmp_by_value (const Result &a, const Result &b) |
| template<bool FORWARD_VALUE, bool FORWARD_DID> | |
| static bool | msetcmp_by_value_then_relevance (const Result &a, const Result &b) |
| template<bool FORWARD_VALUE, bool FORWARD_DID> | |
| static bool | msetcmp_by_relevance_then_value (const Result &a, const Result &b) |
| MSetCmp | get_msetcmp_function (Xapian::Enquire::Internal::sort_setting sort_by, bool sort_forward, bool sort_val_reverse) |
| Select the appropriate msetcmp function. More... | |
Result comparison functions.
Definition in file msetcmp.cc.
| MSetCmp get_msetcmp_function | ( | Xapian::Enquire::Internal::sort_setting | sort_by, |
| bool | sort_forward, | ||
| bool | sort_val_reverse | ||
| ) |
Select the appropriate msetcmp function.
Definition at line 100 of file msetcmp.cc.
References AssertEq, Xapian::Enquire::Internal::DOCID, Xapian::Enquire::Internal::REL, Xapian::Enquire::Internal::REL_VAL, Xapian::Enquire::Internal::VAL, and Xapian::Enquire::Internal::VAL_REL.
Referenced by Matcher::get_local_mset(), and Xapian::MSet::sort_by_relevance().
|
static |
Definition at line 47 of file msetcmp.cc.
|
inlinestatic |
Definition at line 35 of file msetcmp.cc.
References Result::get_docid().
|
static |
Definition at line 55 of file msetcmp.cc.
References Result::get_weight().
|
static |
Definition at line 89 of file msetcmp.cc.
References Result::get_sort_key(), and Result::get_weight().
|
static |
Definition at line 65 of file msetcmp.cc.
References Result::get_sort_key().
|
static |
Definition at line 76 of file msetcmp.cc.
References Result::get_sort_key(), and Result::get_weight().