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