Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Xapian::MultiValueSortUser)Contributed Perl DocumenXapian::MultiValueSorter(3)

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

perl v5.24.1			  2016-04-04	   Xapian::MultiValueSorter(3)

NAME | DESCRIPTION | SYNOPSIS | METHODS | REFERENCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Search::Xapian::MultiValueSorter&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help