seunginah / semanticvectors

Automatically exported from code.google.com/p/semanticvectors
0 stars 0 forks source link

VectorStoreReaderLucene is not thread safe for reads. #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a VectorStoreReaderLucene.
2. Try to use it for search in multiple threads.
3. EOF errors occur.

Original issue reported on code.google.com by widd...@google.com on 6 Jan 2010 at 3:38

GoogleCodeExporter commented 9 years ago
I believe that revision 336 fixes the worst of this problem, by creating a 
clone of 
the indexInput so that concurrent readers don't interfere.

Original comment by widd...@google.com on 6 Jan 2010 at 4:25