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

Add getIndexCommit method to IndexReader

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2, 2.3
    • Fix Version/s: 2.4
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Spinoff from this thread:

      http://markmail.org/message/bojgqfgyxkkv4fyb

      I think it makes sense ask an IndexReader for the commit point it has
      open. This enables the use case described in the above thread, which
      is to create a deletion policy that is able to query all open readers
      for what commit points they are using, and prevent deletion of them.

        Attachments

        1. LUCENE-1201.patch
          19 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: