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

Configure Async Indexer via OSGi

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.14, 1.6.0
    • Component/s: query
    • Labels:
      None

      Description

      Currently the AsyncIndexUpdate is configured within Oak class. This has worked fine so far but now it make certain enhancements difficult.

      For example for

      • OAK-4935 - To support pre filtering AsyncIndexUpdate needs access to ChangeCollectorProvider
      • Enabling Metrics based stats collection requires access to StatisticsProvider
      • Config setting - Currently AsyncIndexUpdate makes use of quite a few system properties. It would be better to switch to OSGi based configuration for that

      For simplifying such cases we should add a OSGi component which can configure AsyncIndexUpdate

      • Support multiple indexers like "async" and "async-fulltext" and also ability to configure the indexing frequency
      • OSGi config support

      When doing this the component configuring repository must not use withAsyncIndexing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: