}
};
EditorHook hook = new EditorHook(provider);
NodeState indexed = hook.processCommit(before, after);
IndexDefinition testDef = new IndexDefinitionImpl("solr",
"solr", "/oak:index/solr");
QueryIndex queryIndex = new SolrQueryIndex(testDef, server, configuration);
FilterImpl filter = new FilterImpl(null, null);
filter.restrictPath("/newnode", Filter.PathRestriction.EXACT);
filter.restrictProperty("prop", Operator.EQUAL,