Query: search::xapian::multivaluesorter
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Xapian::MultiValueSorter(3pm) User Contributed Perl Documentation Xapian::MultiValueSorter(3pm)NAMESearch::Xapian::MultiValueSorter - allows sorting by a several values.DESCRIPTIONResults 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.SYNOPSISuse Search::Xapian; my $db = new Search::Xapian::Database("/path/to/db"); my $enq = new Search::Xapian::Enquire($db); my $sorter = new Search::Xapian::MultiValueSorter(1, 3, 5); $enq->set_sort_by_key($sorter);METHODSnew [<value>...] Construct and add the values listed. add <value> [<forward>] Add another value to sort on. By default, values sort fowards, unless forward is specified and is false.REFERENCEhttp://www.xapian.org/docs/sourcedoc/html/classXapian_1_1MultiValueSorter.html perl v5.14.2 2012-05-09 Xapian::MultiValueSorter(3pm)