[ https://issues.apache.org/jira/browse/LUCENE-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-2812. ---------------------------------------- Resolution: Fixed > IndexReader.indexExists sometimes returns true when an index isn't present > -------------------------------------------------------------------------- > > Key: LUCENE-2812 > URL: https://issues.apache.org/jira/browse/LUCENE-2812 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.1, 4.0 > > Attachments: LUCENE-2812.patch > > > If you open a writer on a new dir and prepareCommit but don't finish the > commit, IndexReader.indexExists incorrectly returns true, because it just > checks for whether a segments_N file is present and not whether it can be > successfully read. -- 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org