On Mon, Oct 31, 2011 at 12:59:37PM +0200, goran kent wrote:
> my @searcher;
> # batch of remote nodes to search
> foreach my $remote_host (qw(10.0.0.1)) {
> push @searcher, LucyX::Remote::SearchClient->new(
> peer_address => qq($remote_host:7890),
> password => $pw,
> );
> }
Please try adding a Schema to SearchClient's constructor arguments.
push @searcher, LucyX::Remote::SearchClient->new(
peer_address => qq($remote_host:7890),
password => $pw,
+ schema => $schema,
);
I can duplicate your symptoms by commenting out the schema argument in
t/510-remote.t.
It seems that the autogenerated XS binding for Lucy::Search::Searcher#new
(invoked as SUPER::new from within SearchClient.pm) is not throwing an error
when it should to indicate that the required 'schema' param is missing.
Marvin Humphrey