use of org.apache.jackrabbit.oak.plugins.index.lucene.util.LuceneInitializerHelper in project jackrabbit-oak by apache.
the class MultiSessionQueryTest method before.
@Before
public void before() {
Jcr jcr = new Jcr();
// lucene specific
jcr.with(new LuceneInitializerHelper("lucene").async());
LuceneIndexProvider provider = new LuceneIndexProvider();
jcr.with((QueryIndexProvider) provider);
jcr.with((Observer) provider);
jcr.with(new LuceneIndexEditorProvider());
repository = jcr.createRepository();
}
Aggregations