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

An Archiving Split Policy For Managing Non-Searchable Documents

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core/index
    • None
    • New, Patch Available

    Description

      (Please note that the feature described in LUCENE-2425 is required reading for this issue.)

      The archiving split policy extends the rotating split policy by archiving sub-indices over-flowing from the split index. This allows for older documents that are "past their prime" to be available outside the context of the split index, even if they are no longer visible therein.

      It does so by overriding the RotatingSplitPolicy#maybeExpungeOldestSplit method. In particular, it archives (i.e., makes a copy of) the last sub-index (about to be expunged), just before the rotating policy actually expunges it.

      Just like the rotating split policy constrains the number of sub-indices, the archiving split policy too puts a limit on the number of sub-archives (i.e. sub-indices that have been archived and expunged) that the split index will maintain at any given point in time.

      Attachments

        1. LUCENE-2430.patch
          12 kB
          Karthick Sankarachary

        Issue Links

          Activity

            People

              Unassigned Unassigned
              karthick Karthick Sankarachary
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: