lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1624) Don't commit an empty segments_N when IW is opened with create=true
Date Wed, 29 Apr 2009 19:47:30 GMT

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

Michael McCandless updated LUCENE-1624:
---------------------------------------

    Attachment: LUCENE-1624.patch

Attached patch.  I plan to commit in a day or so.

> 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


Mime
View raw message