Special characters that come from variables and used in elasticsearch query are having escape character


I’m getting this text from variable : var_a=“ut_coverage:86”
setting it in the elastic query (lucene query), $var_a, end up as: ms_sonar_ut_coverage\\:86
double backslash before :

I’m search for hours and didn’t find any solution
Thanks a lot

solved by using ${a:raw}