LucyX::Remote::ClusterSearcher - Search multiple remote indexes.
my $searcher = eval { LucyX::Remote::ClusterSearcher->new( schema => MySchema->new, shards => [ 'search1:7890', 'search2:7890', 'search3:7890' ], ); }; ... my $hits = eval { $searcher->hits( query => $query ) };
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.
Constructor. Takes hash-style params.
Copyright © 2010-2015 The Apache Software Foundation, Licensed under the
Apache License, Version 2.0.
Apache Lucy, Lucy, Apache, the Apache feather logo, and the Apache Lucy project logo are trademarks of The
Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their
respective owners.