Details

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

    Description

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

      he caching split policy builds on the real-time split policy, providing a caching mechanism that serves to buffer writes to the split index.

      As one might expect, this policy delays writes to the index, holding them in the RAM-based splits (created by the real-time policy) instead. When a flush is forced (typically through a commit, but in general, through a split rule), then all un-flushed changes (splits) are written to the super-directory.

      There are a couple of reasons why one may wish to use the caching split policy opposed to a RAMDirectory. The latter is primarily used to "load a disk-based index into memory", and suffers from a limitation: "the resulting RAMDirectory instance is fully independent from the original Directory (it is a complete copy). Any subsequent changes to the original Directory will not be visible in the RAMDirectory instance". Furthermore, the RAMDirectory gives little control over when changes are flushed to the disk. The caching split policy attempts to address those limitations by allowing (a) changes to the original directory (which we refer to as the super-directory) are in fact visible to the reader and (b) the user to define exactly when to flush writes to the underlying directory.

      Attachments

        1. LUCENE-2432.patch
          14 kB
          Karthick Sankarachary

        Issue Links

          Activity

            karthick Karthick Sankarachary created issue -
            karthick Karthick Sankarachary made changes -
            Field Original Value New Value
            Attachment LUCENE-2432.patch [ 12443414 ]
            karthick Karthick Sankarachary made changes -
            Link This issue requires LUCENE-2425 [ LUCENE-2425 ]
            markt Mark Thomas made changes -
            Workflow jira [ 12509857 ] Default workflow, editable Closed status [ 12563571 ]
            markt Mark Thomas made changes -
            Workflow Default workflow, editable Closed status [ 12563571 ] jira [ 12584306 ]
            gmcdonald Gavin McDonald made changes -
            Workflow classic default workflow [ 12584306 ] patch-available, re-open possible [ 13397090 ]
            gmcdonald Gavin McDonald made changes -
            Workflow patch-available, re-open possible [ 13397090 ] patch-available, re-open possible, new labels [ 13488807 ]

            People

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

              Dates

                Created:
                Updated: