Search in sources :

Example 6 with IndexEditorProvider

use of org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider in project jackrabbit-oak by apache.

the class OutOfBandIndexer method createIndexEditorProvider.

private IndexEditorProvider createIndexEditorProvider() throws IOException {
    IndexEditorProvider lucene = createLuceneEditorProvider();
    IndexEditorProvider property = new PropertyIndexEditorProvider().with(indexHelper.getMountInfoProvider());
    return CompositeIndexEditorProvider.compose(asList(lucene, property));
}
Also used : PropertyIndexEditorProvider(org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexEditorProvider) CompositeIndexEditorProvider(org.apache.jackrabbit.oak.plugins.index.CompositeIndexEditorProvider) IndexEditorProvider(org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider) PropertyIndexEditorProvider(org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexEditorProvider)

Aggregations

IndexEditorProvider (org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider)6 CompositeIndexEditorProvider (org.apache.jackrabbit.oak.plugins.index.CompositeIndexEditorProvider)3 PropertyIndexEditorProvider (org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexEditorProvider)3 IndexUpdateProvider (org.apache.jackrabbit.oak.plugins.index.IndexUpdateProvider)2 NodeCounterEditorProvider (org.apache.jackrabbit.oak.plugins.index.counter.NodeCounterEditorProvider)2 CommitHook (org.apache.jackrabbit.oak.spi.commit.CommitHook)2 EditorHook (org.apache.jackrabbit.oak.spi.commit.EditorHook)2 Observer (org.apache.jackrabbit.oak.spi.commit.Observer)2 QueryIndexProvider (org.apache.jackrabbit.oak.spi.query.QueryIndexProvider)2 Lists.newArrayList (com.google.common.collect.Lists.newArrayList)1 ArrayList (java.util.ArrayList)1 Executor (java.util.concurrent.Executor)1 ScheduledThreadPoolExecutor (java.util.concurrent.ScheduledThreadPoolExecutor)1 ThreadPoolExecutor (java.util.concurrent.ThreadPoolExecutor)1 Repository (javax.jcr.Repository)1 Descriptors (org.apache.jackrabbit.oak.api.Descriptors)1 QueryEngineSettingsMBean (org.apache.jackrabbit.oak.api.jmx.QueryEngineSettingsMBean)1 RepositoryManagementMBean (org.apache.jackrabbit.oak.api.jmx.RepositoryManagementMBean)1 ContentRepositoryImpl (org.apache.jackrabbit.oak.core.ContentRepositoryImpl)1 RepositoryManager (org.apache.jackrabbit.oak.management.RepositoryManager)1