1KinoSearch1::Search::SeUasrecrhSCeornvterri(b3uptme)d PeKrilnoDSoecaurmcehn1t:a:tSieoanrch::SearchServer(3pm)
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
33searchable - The Searcher that the SearchServer will wrap.
34
35port - the port on localhost that the server should open and listen
36           on.
37
38password - 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.38.0                      2023-07K-i2n0oSearch1::Search::SearchServer(3pm)
Impressum