part of my document mapping below:
"character_cut": {
"type": "keyword"
}
and sample data is here.
doc1
character_cut: ["John"]
doc2
character_cut: ["John", "Smith"]
doc3
character_cut: ["Smith", "Jessica", "Anna"]
doc4
character_cut: ["John"]
if i find "John" will retrive doc1
, doc2
, doc4
.
how can i retrive only doc1
, doc4
with "John" query?