1KinoSearch1::Search::SeUasrecrhCCloinetnrti(b3u)ted PerlKiDnoocSuemaernctha1t:i:oSnearch::SearchClient(3)
2
3
4
5Make a remote procedure call. For every call that does not close/terminate
6the socket connection, expect a response back that's been serialized using
7Storable.
8
10 KinoSearch1::Search::SearchClient - connect to a remote SearchServer
11
13 my $client = KinoSearch1::Search::SearchClient->new(
14 peer_address => 'searchserver1:7890',
15 password => $pass,
16 analyzer => $analyzer,
17 );
18 my $hits = $client->search( query => $query );
19
21 SearchClient is a subclass of KinoSearch1::Searcher which can be used
22 to search an index on a remote machine made accessible via
23 SearchServer.
24
26 new
27 Constructor. Takes hash-style params.
28
29 · peer_address - The name/IP and the port number which the client
30 should attempt to connect to.
31
32 · password - Password to be supplied to the SearchServer when
33 initializing socket connection.
34
35 · analyzer - An object belonging to a subclass of
36 KinoSearch1::Analysis::Analyzer
37
39 Limiting search results with a QueryFilter is not yet supported.
40
42 Copyright 2006-2010 Marvin Humphrey
43
45 See KinoSearch1 version 1.01.
46
47
48
49perl v5.30.0 2019-07-2K6inoSearch1::Search::SearchClient(3)