1KinoSearch1::Search::SeUasrecrhSCeornvterri(b3u)ted PerlKiDnoocSuemaernctha1t:i:oSnearch::SearchServer(3)
2
3
4

NAME

6       KinoSearch1::Search::SearchServer - make a Searcher remotely accessible
7

SYNOPSIS

9           my $searcher = KinoSearch1::Searcher->new(
10               analyzer => $analyzer,
11               invindex => '/path/to/invindex',
12           );
13           my $server = KinoSearch1::Search::SearchServer->new(
14               searchable => $searcher,
15               port       => 7890,
16               password   => $pass,
17           );
18           $server->serve;
19

DESCRIPTION

21       The SearchServer class, in conjunction with SearchClient, makes it
22       possible to run a search on one machine and report results on another.
23
24       By aggregating several SearchClients under a MultiSearcher, the cost of
25       searching what might have been a prohibitively large monolithic index
26       can be distributed across multiple nodes, each with its own, smaller
27       index.
28

METHODS

30   new
31       Constructor.  Takes hash-style parameters.
32
33       ·   searchable - The Searcher that the SearchServer will wrap.
34
35       ·   port - the port on localhost that the server should open and listen
36           on.
37
38       ·   password - a password which must be supplied by clients.
39
40   serve
41       Open a listening socket on localhost and wait for SearchClients to
42       connect.
43
45       Copyright 2006-2010 Marvin Humphrey
46

LICENSE, DISCLAIMER, BUGS, etc.

48       See KinoSearch1 version 1.01.
49
50
51
52perl v5.28.0                      2018-07-1K4inoSearch1::Search::SearchServer(3)
Impressum