SolrInputDocument document = new SolrInputDocument();
document.addField("path_exact", "/a/b");
document.addField("name", "hello");
solrServer.add(document);
solrServer.commit();
OakSolrConfiguration configuration = new DefaultSolrConfiguration() {
@Override
public boolean useForPropertyRestrictions() {
return true;
}