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.

      1. LUCENE-1201.patch
        19 kB
        Michael McCandless

        Activity

        Hide
        mikemccand Michael McCandless added a comment -

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

        I also deprecated the original interface IndexCommitPoint, and
        switched to abstract base class IndexCommit instead, and added
        equals() method to IndexCommit. I also added "warning this API is
        still experimental" to the javadocs too.

        Show
        mikemccand Michael McCandless added a comment - Attached patch. I plan to commit in a day or two. I also deprecated the original interface IndexCommitPoint, and switched to abstract base class IndexCommit instead, and added equals() method to IndexCommit. I also added "warning this API is still experimental" to the javadocs too.

          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:

              Development