compatibility with Solr v4