xapian-core
1.4.27
|
MSetItem comparison functions. More...
Go to the source code of this file.
Functions | |
template<bool FORWARD_DID, bool CHECK_DID_ZERO> | |
static bool | msetcmp_by_did (const Xapian::Internal::MSetItem &a, const Xapian::Internal::MSetItem &b) |
template<bool FORWARD_DID> | |
static bool | msetcmp_by_relevance (const Xapian::Internal::MSetItem &a, const Xapian::Internal::MSetItem &b) |
template<bool FORWARD_VALUE, bool FORWARD_DID> | |
static bool | msetcmp_by_value (const Xapian::Internal::MSetItem &a, const Xapian::Internal::MSetItem &b) |
template<bool FORWARD_VALUE, bool FORWARD_DID> | |
static bool | msetcmp_by_value_then_relevance (const Xapian::Internal::MSetItem &a, const Xapian::Internal::MSetItem &b) |
template<bool FORWARD_VALUE, bool FORWARD_DID> | |
static bool | msetcmp_by_relevance_then_value (const Xapian::Internal::MSetItem &a, const Xapian::Internal::MSetItem &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... | |
MSetItem 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 117 of file msetcmp.cc.
References AssertEq, Xapian::Enquire::Internal::REL, Xapian::Enquire::Internal::REL_VAL, Xapian::Enquire::Internal::VAL, and Xapian::Enquire::Internal::VAL_REL.
Referenced by MultiMatch::get_mset().
|
inlinestatic |
Definition at line 35 of file msetcmp.cc.
References Xapian::Internal::MSetItem::did.
|
static |
Definition at line 53 of file msetcmp.cc.
References Xapian::Internal::MSetItem::wt.
|
static |
Definition at line 100 of file msetcmp.cc.
References Xapian::Internal::MSetItem::did, Xapian::Internal::MSetItem::sort_key, and Xapian::Internal::MSetItem::wt.
|
static |
Definition at line 64 of file msetcmp.cc.
References Xapian::Internal::MSetItem::did, and Xapian::Internal::MSetItem::sort_key.
|
static |
Definition at line 81 of file msetcmp.cc.
References Xapian::Internal::MSetItem::did, Xapian::Internal::MSetItem::sort_key, and Xapian::Internal::MSetItem::wt.