I have following two documents in elastic:
Document-1
{"name":"doc1","tags":["Hello World"]}
Document-2
{"name":"doc2", "tags":["World"]}
I want to search a document which contains "World" as single word in documents but this query returns both documents:
{"query":{"bool":{"must":[{"match":{"tags":{"query":"World"}}}]}}}
How can I achieve this?