Create compound file after addIndexes but before rewrite of segments ---------------------------------------------------------------------
Key: LUCENE-592 URL: http://issues.apache.org/jira/browse/LUCENE-592 Project: Lucene - Java Type: Improvement Components: Index Versions: 2.0.0, 1.9 Reporter: Karel Tejnora Priority: Minor When compound file format is used new 'segments' file is written before cfs is created. If there is an exception (disk full, etc.) or it is opened before cfs exists, segments points to non-existing file. This is a small change in index/IndexWriter.java, just a swap a block of code beginning with if(useCompoundFile) ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]