Hello All,
I have a field called title and it has value
"title" : "Toddler- $kitkat @taste &roll ^yart !here #you %ice ^oops *jam (pot) [beat] pep |old {jet} `egg /lol"
For given input i would like to match any term startswith the given input.
For example If i give #yo or ^oop or %ic it has to return the above document
query_string with field type text works for the above use case if no special char is there but with specical char it is not working. How to solve the usecase.
I used whitespace_analyser for keyword field.
The query not working fine for chars like ^, !, {, [, (, ), }, ] and /
Query used
query_string : {
"fields": ["title.keyword"],
"query": "(* {*"
}