lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Federico Fissore <>
Subject Re: Parallel access to TermPositions API
Date Fri, 15 Apr 2011 17:45:51 GMT
Chris Bamford, il 14/04/2011 20:11, ha scritto:
> Hi,
> I need to load a huge amount of TermPositions in a short space of time
> (millions of Documents, sub-second).
> Does the IndexReader's API support multiple accesses to allow several
> parallel threads to consume a chunk each?

AFAIK, you cannot share one instance of TermPositions, but each of your 
thread may have its own dedicated instance, so each will start with a 
different call to skipTo or seek before consuming

Anyway the I/O will be a problem: you can have a 16 way server, but if 
your index is on one harddrive, that will be your bottleneck



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message