-
-
27 Feb 2022 23:58:59 UTC
- Distribution: Search-Xapian
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (19 / 0 / 0)
- Kwalitee
Bus factor: 2- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (73.2KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Search::Xapian::MultiValueSorter - allows sorting by a several values.
DESCRIPTION
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.
SYNOPSIS
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);
METHODS
- new [<value>...]
-
Construct and add the values listed.
- add <value> [<forward>]
-
Add another value to sort on. By default, values sort forwards, unless forward is specified and is false.
REFERENCE
https://xapian.org/docs/sourcedoc/html/classXapian_1_1MultiValueSorter.html
Module Install Instructions
To install Search::Xapian, copy and paste the appropriate command in to your terminal.
cpanm Search::Xapian
perl -MCPAN -e shell install Search::Xapian
For more information on module installation, please visit the detailed CPAN module installation guide.