Can't escape + sign in elastic search query


(sumit sharma) #1

I am unable to escape + symbol from my query string, I tried both ways 1) using \ and 2) by quoting the string. Also while tokenizing any string with + symbol generates tokens which don't have + sign. I am using token characters as
// "token_chars":["letter", "digit", "punctuation", "symbol"].
Surprisingly - symbol is working perfectly fine and is getting escaped. Can someone help me on this.