You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2009/05/01 12:27:30 UTC

[jira] Resolved: (LUCENE-1624) Don't commit an empty segments_N when IW is opened with create=true

     [ https://issues.apache.org/jira/browse/LUCENE-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-1624.
----------------------------------------

    Resolution: Fixed

> 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
>
>         Attachments: LUCENE-1624.patch
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org