fixes for solr4