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.
Query used
query_string : {
"fields": ["title", "title.keyword"],
"query": "^oo* %ic*"
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.