def distinct_values_of(self, field, count_deleted=False):
solr_params = "<STR_LIT>" % field<EOL>result = self.riak_http_search_query(self.index_name, solr_params, count_deleted)<EOL>facet_fields = result['<STR_LIT>']['<STR_LIT>'][field]<EOL>keys = facet_fields[<NUM_LIT:0>::<NUM_LIT:2>]<EOL>vals = facet_fields[<NUM_LIT:1>::<NUM_LIT:2>]<EOL>return dict(zip(keys, vals))<EOL>
Uses riak http search query endpoint for advanced SOLR queries.

Args:
    field (str): facet field
    count_deleted (bool): ignore deleted or not

Returns: 
    (dict): pairs of field values and number of counts