On 15/11/2016 08:06, Chetan Mehrotra wrote:
> Hi Team,
>
> With OAK-5074 the async indexing setup has been changed for OSGi env.
> With this applications running Oak in OSGi env should not be
> configuring async indexing via 'Oak#withAsyncIndexing' . Instead they
> should configure OSGi component
> 'org.apache.jackrabbit.oak.plugins.index.AsyncIndexerService'
>
> ------
> asyncConfigs=[ \
>   "async:5", \
>   ]
> leaseTimeOutMinutes=I"15"
> ------
>
> AsyncIndexerService OSGi component would REQUIRE an explicit config to
> enable async indexing.
>
> The OSGi way of configuration is required for further enhancements in this 
> area.
>
> Please provide your feedback!
>

As we may have multiple threads performing the indexing it would be nice
if such aspect could be configured OSGi wise with a list in which you
can specify them.

Davide


Reply via email to