I want to do filtering based on a whole word match in Elasticsearch.
e.g.
POST /company/1
{
"name": "Hemani",
"age" : 23,
"experienceInYears" : 2,
"role" : "Python developer",
"object" :{
"link":"Python, Scala, R"
}
}
I want to do match based on object.link in Role, if there is a whole word match then I want this document in my search.
But if it is something like this -
POST /company/1
{
"name": "Hemani",
"age" : 23,
"experienceInYears" : 2,
"role" : "Python developer",
"object" :{
"link":"Rust"
}
}
In this case I dont want this to be returned.
Can anyone please point me in the right direction ?