hub changes for stream/repost with extensions #113

Open
moodyjon wants to merge 13 commits from moodyjon/limited_repost into master
Showing only changes of commit 806b29c9ad - Show all commits

View file

@ -943,7 +943,6 @@ def expand_query(**kwargs):
else: else:
# require <field> match value <d> # require <field> match value <d>
yield {"match": {field: {"query": d}}} yield {"match": {field: {"query": d}}}
#yield {"term": {field: {"value": d}}}
# query field <key> for list of top-level dictionary keys # query field <key> for list of top-level dictionary keys
query['must'].append({"terms": {key: list(value.keys())}}) query['must'].append({"terms": {key: list(value.keys())}})
# query field <key>_obj for nested properties # query field <key>_obj for nested properties