hub changes for stream/repost with extensions #113
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue