kinosearch1::search::multisearcher(3pm) debian man page | unix.com

Man Page: kinosearch1::search::multisearcher

Operating Environment: debian

Section: 3pm

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)
Related Man Pages
kinosearch1::analysis::polyanalyzer(3pm) - debian
kinosearch1::highlight::highlighter(3pm) - debian
kinosearch1::invindexer(3pm) - debian
kinosearch1::search::booleanquery(3pm) - debian
kinosearch1::search::searchserver(3pm) - debian
Similar Topics in the Unix Linux Community
CScout 2.4 (Default branch)
CScout 2.6 (Default branch)
need help on NMON in AIX
Search from file and display
Search multiple Strings in a File