[
http://issues.apache.org/jira/browse/LUCENE-504?page=comments#action_12415825 ]
Doron Cohen commented on LUCENE-504:
Yes this is correct - e.g. on a win32 machine with 2GB RAM, SUN 1.5 JRE would
accept up to Xmx1470m and in that case you could set the
Hi Chuck:
I am still looking forward to a solution which ensure to to meet the
constraints of
ParallelReader so that I can use it for my seach programm. I have
tried a lot of methods but none of them
is good enough for me because of obvious
bugs. Can you help me? thanks in advance
[
http://issues.apache.org/jira/browse/LUCENE-599?page=comments#action_12415866 ]
Otis Gospodnetic commented on LUCENE-599:
-
Akshay, if this is happening on specific files, attach one of those files and
tell us how you are invoking the demo app (jus
Hi Wu,
The simplest solution is to synchronize calls to a
ParallelWriter.addDocument() method that calls IndexWriter.addDocument()
for each sub-index. This will work assuming there are no exceptions and
assuming you never refresh your IndexReader within
ParallelWriter.addDocument(). If exception
ParallelWriter companion to ParallelReader
--
Key: LUCENE-600
URL: http://issues.apache.org/jira/browse/LUCENE-600
Project: Lucene - Java
Type: Improvement
Components: Index
Versions: 2.1
Reporter: Chuck Willia
[ http://issues.apache.org/jira/browse/LUCENE-600?page=all ]
Chuck Williams updated LUCENE-600:
--
Attachment: ParallelWriter.patch
Patch to create and integrate ParallelWriter, Writable and TestParallelWriter
-- also modifies build to use java 1.5.
>
Wu,
I've contributed a version of ParallelWriter that takes a middle
ground. ParallelWriter.addDocument() is synchronized, but the
underlying sub-index writes are done in parallel. It would be possible
to allow ParallelWriter.addDocument() itself to be multi-threaded, but
the synchronization and