22 #ifndef XAPIAN_INCLUDED_ESETINTERNAL_H
23 #define XAPIAN_INCLUDED_ESETINTERNAL_H
65 if (
wt > o.
wt)
return true;
66 if (
wt < o.
wt)
return false;
89 std::vector<Xapian::Internal::ExpandTerm>
items;
This class is used to access a database, or a group of databases.
Iterator over a Xapian::ESet.
Class which actually implements Xapian::ESet.
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.
Xapian::termcount ebound
This is a lower bound on the ESet size if an infinite number of results were requested.
std::string get_description() const
Return a string describing this object.
void operator=(const Internal &)
Don't allow assignment.
Internal()
Construct an empty ESet::Internal.
Internal(const Internal &)
Don't allow copying.
std::vector< Xapian::Internal::ExpandTerm > items
The ExpandTerm objects which represent the items in the ESet.
Class representing a list of search results.
Virtual base class for expand decider functor.
Class combining a term and its expand weight.
void swap(ExpandTerm &o)
Implement custom swap for ESet sorting efficiency.
double wt
The expand weight calculated for this term.
std::string term
The term.
std::string get_description() const
Return a string describing this object.
bool operator<(const ExpandTerm &o) const
Ordering relation for ESet contents.
ExpandTerm(double wt_, const std::string &term_)
Constructor.
Class for calculating ESet term weights.
Base class for objects managed by intrusive_ptr.
Class representing a list of query expansion terms.
The Xapian namespace contains public interfaces for the Xapian library.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.