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  -  KINOSEARCH1::SEARCH::MULTISEARCHER (3)

.ds Aq ’ Dummy class, only here to support initialization of Weights from Queries.

NAME

KinoSearch1::Search::MultiSearcher - Aggregate results from multiple searchers.

CONTENTS

SYNOPSIS



    for my $server_name (@server_names) {
        push @searchers, KinoSearch1::Search::SearchClient->new(
            peer_address => "$server_name:$port",
            analyzer     => $analyzer,
            password     => $pass,
        );
    }
    my $multi_searcher = KinoSearch1::Search::MultiSearcher->new(
        searchables => \@searchers,
        analyzer    => $analyzer,
    );
    my $hits = $multi_searcher->search( query => $query );



DESCRIPTION

Aside from the arguments to its constructor, MultiSearcher looks and acts just like a KinoSearch1::Searcher object.

The primary use for MultiSearcher is to aggregate results from several remote searchers via SearchClient, diffusing the cost of searching a large corpus over multiple machines.

METHODS

    new

Constructor. Takes two hash-style parameters, both of which are required.
o <B>analyzerB> - an item which subclasses KinoSearch1::Analysis::Analyzer.
o <B>searchablesB> - a reference to an array of searchers.

COPYRIGHT

Copyright 2006-2010 Marvin Humphrey

LICENSE, DISCLAIMER, BUGS, etc.

See KinoSearch1 version 1.01.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 KINOSEARCH1::SEARCH::MULTISEARCHER (3) 2016-03-17

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