xapian-core
1.4.26
|
Class which actually implements Xapian::ESet. More...
#include <esetinternal.h>
Public Member Functions | |
Internal () | |
Construct an empty ESet::Internal. More... | |
void | expand (Xapian::termcount max_esize, const Xapian::Database &db, const Xapian::RSet &rset, const Xapian::ExpandDecider *edecider, Xapian::Internal::ExpandWeight &eweight, double min_wt) |
Run the "expand" operation which fills the ESet. More... | |
std::string | get_description () const |
Return a string describing this object. More... | |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
intrusive_base () | |
Construct with no references. More... | |
Private Member Functions | |
void | operator= (const Internal &) |
Don't allow assignment. More... | |
Internal (const Internal &) | |
Don't allow copying. More... | |
Private Attributes | |
Xapian::termcount | ebound |
This is a lower bound on the ESet size if an infinite number of results were requested. More... | |
std::vector< Xapian::Internal::ExpandTerm > | items |
The ExpandTerm objects which represent the items in the ESet. More... | |
Friends | |
class | ESet |
class | ESetIterator |
Additional Inherited Members | |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
unsigned | _refs |
Reference count. More... | |
Class which actually implements Xapian::ESet.
Definition at line 77 of file esetinternal.h.
|
private |
Don't allow copying.
|
inline |
Construct an empty ESet::Internal.
Definition at line 99 of file esetinternal.h.
References Xapian::Internal::ExpandTerm::get_description().
void Xapian::ESet::Internal::expand | ( | Xapian::termcount | max_esize, |
const Xapian::Database & | db, | ||
const Xapian::RSet & | rset, | ||
const Xapian::ExpandDecider * | edecider, | ||
Xapian::Internal::ExpandWeight & | eweight, | ||
double | min_wt | ||
) |
Run the "expand" operation which fills the ESet.
Definition at line 140 of file esetinternal.cc.
References Assert, Xapian::build_termlist_tree(), Xapian::Internal::ExpandWeight::collect_stats(), Xapian::RSet::empty(), Xapian::Internal::ExpandWeight::get_weight(), LOGCALL_VOID, LOGLINE, Xapian::TermIterator::Internal::next(), and rare.
string Xapian::ESet::Internal::get_description | ( | ) | const |
Return a string describing this object.
Definition at line 213 of file esetinternal.cc.
References Xapian::Internal::str().
|
private |
Don't allow assignment.
|
friend |
Definition at line 78 of file esetinternal.h.
|
friend |
Definition at line 79 of file esetinternal.h.
|
private |
This is a lower bound on the ESet size if an infinite number of results were requested.
It will of course always be true that: ebound >= items.size()
Definition at line 86 of file esetinternal.h.
|
private |
The ExpandTerm objects which represent the items in the ESet.
Definition at line 89 of file esetinternal.h.