I'm trying to use the multi_match
functionality within Elasticsearch using the elasticsearch-py library.
Setting it up like this:
res = helpers.scan(es, index="allcomms", query = {
"multi_match" : {
"query": 'multiple terms',
"fields": ["text"]
}})
I get:
RequestError: RequestError(400, 'parsing_exception', 'Unknown key for a START_OBJECT in [multi_match].')
Anyone know if there is a way to conduct this search using the Elasticsearch-py library?
Thanks!