I have a problem using wildcard in query_string in elasticsearch.I can not find documentation for the "escape" property in query_string when the value is "true" I got some results but when it is "false" the result is zero.
{
"query_string": {
"query": "*Serial\\+*",
"fields": [
"info.name^1.0"
],
"type": "best_fields",
"allow_leading_wildcard": true,
"analyze_wildcard": true,
"escape": true,
"auto_generate_synonyms_phrase_query": true,
"fuzzy_transpositions": true,
"boost": 1.0
}
}
can anybody explain the "escape" property?