[ 
https://issues.apache.org/jira/browse/OAK-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra resolved OAK-5074.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.14

Done with 1769287

Also with 1769289 now the runnable job which would be registered would have a 
service property {{oak.async}} whose value with the async index task name

> 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, 1.5.14
>
>
> 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