use of org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorProvider in project jackrabbit-oak by apache.
the class LocalIndexWriterFactoryTest method setUp.
@Before
public void setUp() throws IOException {
tracker = new IndexTracker();
DocumentQueue queue = new DocumentQueue(100, tracker, sameThreadExecutor());
editorProvider = new LuceneIndexEditorProvider(null, null, null, Mounts.defaultMountInfoProvider());
editorProvider.setIndexingQueue(queue);
syncHook = new EditorHook(new IndexUpdateProvider(editorProvider));
asyncHook = new EditorHook(new IndexUpdateProvider(editorProvider, "async", false));
}
Aggregations