Thanks Marvin for your reply!
I will try add_index.
From: Marvin Humphrey [mailto:mar...@rectangular.com]
Sent: Friday, September 16, 2016 7:01 AM
Subject: Re: [lucy-user] Speed up Search with Lucy::Search::IndexSearcher and
Lucy::Search::PolySearcher from multiple index folders
On Wed, Sep 14, 2016 at 12:05 AM, Gupta, Rajiv <rajiv.gu...@netapp.com> wrote:
> 2. Create searchers using Lucy::Search::IndexSearcher in loop and add
> all the searchers to Lucy::Search::PolySearcher
I suggest trying LucyX::Remote::ClusterSearcher instead of PolySearcher.
ClusterSearcher supports parallel searching through multi-process-based
> The storable module was unable to store the child's data structure to
> the temp file "/tmp/Parallel-ForkManager-27339-27366.txt": Storable
> serialization not implemented for Lucy::Search::IndexSearcher at
> line 93
IndexSearchers cannot be serialized with Storable because they refer to a
potentially huge index on the local file system. Furthermore, they rely on
keeping open file descriptors to preserve a snapshot view of the index in time,
and those file descriptors also cannot be serialized.
> Also, is there any way I can merge all the indexes in one place?
Lucy::Index::Indexer's add_index() method could potentially help.