Updated for Solr 4.x and the deprecated PreReq