| Xapian::MultiValueSorter(3pm) | User Contributed Perl Documentation | Xapian::MultiValueSorter(3pm) | 
Search::Xapian::MultiValueSorter - allows sorting by a several values.
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.
  use 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);
https://xapian.org/docs/sourcedoc/html/classXapian_1_1MultiValueSorter.html
| 2022-11-23 | perl v5.36.0 |