def riak_http_search_query(self, solr_core, solr_params, count_deleted=False):
<EOL>sq = ["<STR_LIT>" % (q[<NUM_LIT:0>], q[<NUM_LIT:1>]) for q in self._solr_query]<EOL>if not count_deleted:<EOL><INDENT>sq.append("<STR_LIT>")<EOL><DEDENT>search_host = "<STR_LIT>" % (<EOL>settings.RIAK_SERVER,<EOL>settings.RIAK_HTTP_PORT,<EOL>solr_core,<EOL>"<STR_LIT>".join(sq),<EOL>solr_params<EOL>)<EOL>return json.loads(bytes_to_str(urlopen(search_host).read()))<EOL>
This method is for advanced SOLR queries. Riak HTTP search query endpoint,
sends solr_params and query string as a proxy and returns solr reponse.

Args:
    solr_core (str): solr core on which query will be executed

    solr_params (str): solr specific query params, such as rows, start, fl, df, wt etc..

    count_deleted (bool): ignore deleted records or not 

Returns:
    (dict): dict of solr response