You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/11/07 05:12:58 UTC

[jira] [Created] (OAK-5074) Configure Async Indexer via OSGi

Chetan Mehrotra created OAK-5074:
------------------------------------

             Summary: Configure Async Indexer via OSGi
                 Key: OAK-5074
                 URL: https://issues.apache.org/jira/browse/OAK-5074
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: query
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
             Fix For: 1.6


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}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)