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

Add getIndexCommit method to IndexReader

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1, 2.2, 2.3
    • 2.4
    • core/index
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: