public Editor getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) {
IndexEditorProvider editorProviders = new CompositeIndexEditorProvider(
new ReferenceEditorProvider(),
new PropertyIndexEditorProvider());
return new IndexUpdate(editorProviders, null, after, builder, new IndexUpdateCallback() {
String progress = "Updating indexes ";
long t0;
@Override
public void indexUpdate() {
long t = System.currentTimeMillis();