updated solr plugin to work with solr 4.x