Don't commit an empty segments_N when IW is opened with create=true -------------------------------------------------------------------
Key: LUCENE-1624 URL: https://issues.apache.org/jira/browse/LUCENE-1624 Project: Lucene - Java Issue Type: Improvement Components: Index Reporter: Michael McCandless Assignee: Michael McCandless Priority: Minor Fix For: 2.9 If IW is opened with create=true, it forcefully commits an empty segments_N. But really it should not: if autoCommit is false, nothing should be committed until commit or close is explicitly called. Spinoff from http://www.nabble.com/no-segments*-file-found:-files:-Error-on-opening-index-td23219520.html -- 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org