We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a190e87 commit 2c01ebbCopy full SHA for 2c01ebb
riak/codecs/http.py
@@ -229,6 +229,8 @@ def _normalize_json_search_response(self, json):
229
if u'response' in json:
230
result['num_found'] = json[u'response'][u'numFound']
231
result['max_score'] = float(json[u'response'][u'maxScore'])
232
+ if 'facet_counts' in json:
233
+ result['facet_counts'] = json[u'facet_counts']
234
docs = []
235
for doc in json[u'response'][u'docs']:
236
resdoc = {}
0 commit comments