lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: How to use concurrency efficiently
Date Tue, 02 Apr 2013 16:44:03 GMT
On Tue, Apr 2, 2013 at 4:39 PM, Igor Shalyminov
<ishalyminov@yandex-team.ru> wrote:
> Yes, the number of documents is not too large (about 90 000), but the queries are very
hard. Although they're just boolean, a typical query can produce a result with tens of millions
of hits.

How can there be tens of millions of hits with only 90000 docs?

> Single-threadedly such a query runs ~20 seconds, which is too slow. therefore, multithreading
is vital for this task.

Indeed, that's super slow. Multithreading could help a little, but
maybe there is something to do to better index your data so that
queries get faster?

--
Adrien

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message