Updated to work for Solr 3.1