#include <sorter.h>
Inheritance diagram for Xapian::MultiValueSorter:


Public Member Functions | |
| template<class Iterator> | |
| MultiValueSorter (Iterator begin, Iterator end) | |
| virtual std::string | operator() (const Xapian::Document &doc) const |
| This method takes a Document object and builds a sort key from it. | |
| void | add (Xapian::valueno valno, bool forward=true) |
Results are ordered by the first value. In the event of a tie, the second is used. If this is the same for both, the third is used, and so on.
| virtual std::string Xapian::MultiValueSorter::operator() | ( | const Xapian::Document & | doc | ) | const [virtual] |
This method takes a Document object and builds a sort key from it.
Documents are then ordered by a string compare on the sort keys.
Implements Xapian::Sorter.