fixed bugs in rest interface after decoupling solr search