Allowing solr query to use either get or post http method based on the http_method configuration parameter