incubator-lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From goran kent <gorank...@gmail.com>
Subject Re: [lucy-user] Concurrent searching
Date Thu, 24 Nov 2011 11:58:08 GMT
On Wed, Nov 23, 2011 at 10:35 PM, Marvin Humphrey
<marvin@rectangular.com> wrote:
> Something like this:
>
>    my @responses;
>    for (my $i = 0; $i < $num_shards; $i++) {
>        my $response  = $self->_retrieve_response_from_shard($i);
>        $responses[$i] = $response->{retval};
>    }

Thanks Marvin - that works quite well actually.  My famous 20s search
time is now subsecond.

Mime
View raw message