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