diff --git a/hub/common.py b/hub/common.py index a3a6d80..00cdcb5 100644 --- a/hub/common.py +++ b/hub/common.py @@ -943,7 +943,6 @@ def flatten(field, d): else: # require match value yield {"match": {field: {"query": d}}} - #yield {"term": {field: {"value": d}}} # query field for list of top-level dictionary keys query['must'].append({"terms": {key: list(value.keys())}}) # query field _obj for nested properties