1KinoSearch1::Search::MuUlsteirSeCaorncthreirb(u3t)ed PerKlinDooSceuamrecnht1a:t:iSoenarch::MultiSearcher(3)
2
3
4
5Dummy class, only here to support initialization of Weights from Queries.
6

NAME

8       KinoSearch1::Search::MultiSearcher - Aggregate results from multiple
9       searchers.
10

SYNOPSIS

12           for my $server_name (@server_names) {
13               push @searchers, KinoSearch1::Search::SearchClient->new(
14                   peer_address => "$server_name:$port",
15                   analyzer     => $analyzer,
16                   password     => $pass,
17               );
18           }
19           my $multi_searcher = KinoSearch1::Search::MultiSearcher->new(
20               searchables => \@searchers,
21               analyzer    => $analyzer,
22           );
23           my $hits = $multi_searcher->search( query => $query );
24

DESCRIPTION

26       Aside from the arguments to its constructor, MultiSearcher looks and
27       acts just like a KinoSearch1::Searcher object.
28
29       The primary use for MultiSearcher is to aggregate results from several
30       remote searchers via SearchClient, diffusing the cost of searching a
31       large corpus over multiple machines.
32

METHODS

34   new
35       Constructor.  Takes two hash-style parameters, both of which are
36       required.
37
38analyzer - an item which subclasses
39           KinoSearch1::Analysis::Analyzer.
40
41searchables - a reference to an array of searchers.
42
44       Copyright 2006-2010 Marvin Humphrey
45

LICENSE, DISCLAIMER, BUGS, etc.

47       See KinoSearch1 version 1.01.
48
49
50
51perl v5.32.1                      2021-01-K2i7noSearch1::Search::MultiSearcher(3)
Impressum