IndexWriter.addIndexes(IndexReader[]) fails to create compound files --------------------------------------------------------------------
Key: LUCENE-1226 URL: https://issues.apache.org/jira/browse/LUCENE-1226 Project: Lucene - Java Issue Type: Bug Components: Index Affects Versions: 2.3.1, 2.3 Reporter: Michael Busch Assignee: Michael Busch Priority: Minor Fix For: 2.3.2, 2.4 Attachments: lucene-1226.patch Even if no exception is thrown while writing the compound file at the end of the addIndexes() call, the transaction is rolled back and the successfully written cfs file deleted. The fix is simple: There is just the {code:java} success = true; {code} statement missing at the end of the try{} clause. All tests pass. I'll commit this soon to trunk and 2.3.2. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]