better fix for API incompatiblity introduced between solr-4.4 and solr-4.10