Skip to content

Commit

Permalink
Remove alternate code commented out.
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyjon committed Nov 17, 2022
1 parent 5b1d4bf commit 199dee9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hub/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,6 @@ def flatten(field, d):
else:
# require <field> match value <d>
yield {"match": {field: {"query": d}}}
#yield {"term": {field: {"value": d}}}
# query field <key> for list of top-level dictionary keys
query['must'].append({"terms": {key: list(value.keys())}})
# query field <key>_obj for nested properties
Expand Down

0 comments on commit 199dee9

Please sign in to comment.