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

Allow storing user data when IndexWriter.commit() is called

Details

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

    Description

      Spinoff from here:

      http://www.mail-archive.com/java-user@lucene.apache.org/msg22303.html

      The idea is to allow optionally passing an opaque String commitUserData to the IndexWriter.commit method. This String would be stored in the segments_N file, and would be retrievable by an IndexReader. Applications could then use this to assign meaning to each commit.

      It would be nice to get this done for 2.4, but I don't think we should hold the release for it.

      Attachments

        1. LUCENE-1382.patch
          12 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: