Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1624

Don't commit an empty segments_N when IW is opened with create=true

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.9
    • core/index
    • None
    • New

    Description

      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

      Attachments

        1. LUCENE-1624.patch
          2 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: