clean up solr search server code