for (WorkspaceInitializer wspInit : initializer) {
wspInit.initialize(builder, workspaceName, queryEngineSettings, indexProvider, commitHook);
}
try {
CommitHook hook = new EditorHook(new IndexUpdateProvider(indexEditor));
CommitInfo info = new CommitInfo("OakInitializer", null);
store.merge(builder, hook, info);
} catch (CommitFailedException e) {
throw new RuntimeException(e);
}
}