:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
LucyX::Remote::ClusterSearcher - phpMan

Command: man perldoc info search(apropos)  


LucyX::Remote::ClusterSearcher(User Contributed Perl DocumentatiLucyX::Remote::ClusterSearcher(3)



NAME
       LucyX::Remote::ClusterSearcher - Search multiple remote indexes.

SYNOPSIS
           my $searcher = eval {
               LucyX::Remote::ClusterSearcher->new(
                   schema => MySchema->new,
                   shards => [ 'search1:7890', 'search2:7890', 'search3:7890' ],
               );
           };
           ...
           my $hits = eval { $searcher->hits( query => $query ) };

DESCRIPTION
       ClusterSearcher is a subclass of Lucy::Search::Searcher which can be used to search a
       composite index made up of multiple shards, where each shard is represented by a host:port
       pair running LucyX::Remote::SearchServer.

METHODS
   new
       Constructor.  Takes hash-style params.

       ·   schema - A Schema, which must match the Schema used by each remote node.

       ·   shards - An array of host:port pairs running LucyX::Remote::SearchServer instances,
           which identifying the shards that make up the composite index.



perl v5.20.2                                2015-12-01          LucyX::Remote::ClusterSearcher(3)


/man
rootr.net - man pages