I have a Keyword field, which can contain multiple values, is there a way to query only for documents that contain "only" a specific Keyword?
Let's imagine I have an Index with the following 4 documents:
{"tags": "a"}
{"tags": ["a", "b"]}
{"tags": "b"}
{"tags": ["a", "c"]}
I'm looking for a filter query, that would only provide the first document, with "tags":"a", but not the second or forth as they also contain "b" and "c". And the culprit is now that I don't know what other Keywords could be there. So I need to filter for something like:
GIVE ME ALL DOCUMENTS THAT ONLY HAVE THE TAG "A"