[jira] Commented: (LUCENE-504) FuzzyQuery produces a "java.lang.NegativeArraySizeException" in PriorityQueue.initialize if I use Integer.MAX_VALUE as BooleanQuery.MaxClauseCount

2006-06-12 Thread Doron Cohen (JIRA)
[ 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

Re: Fwd: How to combine results from several indices

2006-06-12 Thread wu fox
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

[jira] Commented: (LUCENE-599) java.io.IOException: Pipe Closed

2006-06-12 Thread Otis Gospodnetic (JIRA)
[ 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

Re: Fwd: How to combine results from several indices

2006-06-12 Thread Chuck Williams
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

[jira] Created: (LUCENE-600) ParallelWriter companion to ParallelReader

2006-06-12 Thread Chuck Williams (JIRA)
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

[jira] Updated: (LUCENE-600) ParallelWriter companion to ParallelReader

2006-06-12 Thread Chuck Williams (JIRA)
[ 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. >

Re: Fwd: How to combine results from several indices

2006-06-12 Thread Chuck Williams
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