Relative Content

Tag Archive for pythonelasticsearchopensearchamazon-opensearch

Opensearch/Elasticsearch Must_Not Clause not Accepting a List

I’m trying to write an Opensearch query which will exclude any results which match a list of terms. Per what I can tell in Opensearch documentation, this sort of behavior should be supported.
However, of the two queries I have below, only the one which doesn’t use a list (working_query) works. Unfortunately, googling / searching stackoverflow for the error hasn’t yielded any results that seem relevant. Thanks in advance!