Skip to content

Commit 806b29c

Browse files
committed
Remove alternate code commented out.
1 parent a09d49f commit 806b29c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hub/common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,6 @@ def flatten(field, d):
943943
else:
944944
# require <field> match value <d>
945945
yield {"match": {field: {"query": d}}}
946-
#yield {"term": {field: {"value": d}}}
947946
# query field <key> for list of top-level dictionary keys
948947
query['must'].append({"terms": {key: list(value.keys())}})
949948
# query field <key>_obj for nested properties

0 commit comments

Comments
 (0)