GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SEARCH::XAPIAN::MULTIVALUESORTER (3)

.ds Aq ’

NAME

Search::Xapian::MultiValueSorter - allows sorting by a several values.

CONTENTS

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 fowards, unless forward is specified and is false.

REFERENCE



  http://www.xapian.org/docs/sourcedoc/html/classXapian_1_1MultiValueSorter.html



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 XAPIAN::MULTIVALUESORTER (3) 2011-01-14

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.