kinosearch1::search::multisearcher(3pm) [debian man page]
KinoSearch1::Search::MultiSearcher(3pm) User Contributed Perl Documentation KinoSearch1::Search::MultiSearcher(3pm)Dummy class, only here to support initialization of Weights from Queries.NAME
KinoSearch1::Search::MultiSearcher - Aggregate results from multiple searchers.
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 analyzer - an item which subclasses KinoSearch1::Analysis::Analyzer.
o searchables - a reference to an array of searchers.
COPYRIGHT
Copyright 2006-2010 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch1 version 1.00.
perl v5.14.2 2011-11-15 KinoSearch1::Search::MultiSearcher(3pm)
Check Out this Related Man Page
KinoSearch1::Search::SearchServer(3pm) User Contributed Perl Documentation KinoSearch1::Search::SearchServer(3pm)NAME
KinoSearch1::Search::SearchServer - make a Searcher remotely accessible
SYNOPSIS
my $searcher = KinoSearch1::Searcher->new(
analyzer => $analyzer,
invindex => '/path/to/invindex',
);
my $server = KinoSearch1::Search::SearchServer->new(
searchable => $searcher,
port => 7890,
password => $pass,
);
$server->serve;
DESCRIPTION
The SearchServer class, in conjunction with SearchClient, makes it possible to run a search on one machine and report results on another.
By aggregating several SearchClients under a MultiSearcher, the cost of searching what might have been a prohibitively large monolithic
index can be distributed across multiple nodes, each with its own, smaller index.
METHODS
new
Constructor. Takes hash-style parameters.
o searchable - The Searcher that the SearchServer will wrap.
o port - the port on localhost that the server should open and listen on.
o password - a password which must be supplied by clients.
serve
Open a listening socket on localhost and wait for SearchClients to connect.
COPYRIGHT
Copyright 2006-2010 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch1 version 1.00.
perl v5.14.2 2011-11-15 KinoSearch1::Search::SearchServer(3pm)
Hi all-
I've got 2 files: One is the final results and one is a result set from a query.
In the final results files I have placeholder strings in there that need to be replaced by the corresponding strings from the query file.
So File#1 (FINAL RESULTS)
LINEID CLIENT ID REP ... (1 Reply)
HI,
I have downloaded nmon 3.3c nmon analyzer, and run the command on aix ./nmon -f
After that I have terminated the process and found .nmon file.
when i have tried to open that file in nmon analyzer i.e in excel I am getting the error "no valid input data nmon run may have failed"
... (8 Replies)
Dear all
I had input file as mention below. From that i want op as given below. Kindly let me knw possible ways.
Regards
Jaydeep
CONNECTED bscaaa
<rxmfp:mo=RXOTX-46-5 ;
RADIO X-CEIVER ADMINISTRATION
MANAGED OBJECT FAULT INFORMATION
MO BTSSWVER
RXOTX-46-5 ERA-G04-R11-V01
... (5 Replies)
Hi
I want to search multiple strings in a file . But the search should start with "From" Keyword and end with before "Where" keyword.
Please suggest me.
Thanks (2 Replies)
hi,
I am stuck at a place. Please help me out. Here is what i need to do.
Search for a pattern in a propertyfile and change only at one occurance. I have these statements and assignment as a part of the propertyfile
#Note : The Address should be replaced with actual address dynamically.
... (7 Replies)
Hi,
Can someone please help me with a Command to Search a FILE for a STRING in multiple DIRECTORIES.
I am searching for the VIP in HTTPD.CONF in multiple httpd instances.
I am using
find ./ -name "httpd.conf" | xargs grep 10.22.0.141 cut -d: -f3- | cut -d ' ' -f4 | sort | uniq -c
... (1 Reply)
I want to extract verbal forms from a large corpus of English. I have identified a certain number of patterns. Each pattern has the following structure
SPACE word_CATEGORY
where word refers to the verbal form and CATEGORY refers to the class of the verb
The categories are identified as per the... (4 Replies)
Hey,
I added an animation switch on the search results page; so by default the thread previews are off, but if you want to look at them, just click on the green button and the thread previews will turn on (and back off).
See image and attached animation:
... (1 Reply)