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)

Reply via email to