Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4753

Add nrt as another index mode

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.10, 1.6.0
    • core
    • None

    Description

      OAK-4641 added "sync" as a new async value to allow same editor to participate in async and sync indexing. Similar to that I would like to add "nrt" as another mode for async

      So following async value would be supported

      1. sync - The index editor would be invoked as part of sync indexing
      2. nrt - Stands for near real time. The index editor would again be invoked as part of sync commit
      3. async or any other value - The index editor would be invoked as part of matching async indexer run

      In Lucene case LuceneIndexEditor would use "nrt" for those indexes which are locally managed but asynchronously updated while "sync" would be used for those Lucene indexes which are synchronously updated upon commit.

      Attachments

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: