I have my mapping as follows:
mappings: {
person: {
properties: {
name: {
type: "string"
}
}
}
}
I do a PUT of "name" : "ba\tch"
The Following WILDCARD QUERY fetches NO RESULT:
{"query":
{"bool" :
{"must" :
{ "wildcard" :
{ "name" : "ba\\tch*"
}
}
}
}
}
I dont follow the STRANGE behavior. And when I have a normal string without backslash then the wildcard search works Perfectly.
Please explain to me why does it not work as expected? And the Solution?