DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32847>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32847





------- Additional Comments From [EMAIL PROTECTED]  2005-01-21 02:48 -------

Suggestion #1

>>>I fixed a bug that left a SegmentReader open in addIndexes(IndexReader[] 
readers)
>>>and it also left obsolete index files undeleted.
>>>But this could have hardly caused your memory problems.

        I'm running the current version of Lucene.

Suggestion #2

>>>The call to writer.optimize() isn't necessary

        The call was removed. Please read my comment about the failure 
happening after the new index is written

Suggestion #3

>>>please try with StandardAnaylzer to make sure the problem isn't in your 
Termanalyzer
        
        With the StandardAnalyzer, the results are the same.
        Question: Is it acceptable to merge using a different analyzer than was 
used to index?

Suggestion #4

>>>please provide a test case. If you can provide a test case, please attach it 
here. 
        
        OK. It's just these five lines of code plus alot of data.
        I've offered before to send the data before, but its won't post as an 
email attachment.

        >>>>> code 

        Directory[] sources = new Directory[paths.length];
        ...

        Directory dest = FSDirectory.getDirectory( path, true);
        IndexWriter writer = new IndexWriter( dest, new StandardAnalyzer(), 
true);

        writer.addIndexes( sources);
        writer.close();



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to