[DOCS] "Escape" flag for "query_string" is not documented #77604
Labels
>docs
General docs changes
:Search Relevance/Search
Catch all for Search Relevance
Team:Docs
Meta label for docs team
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Following a question on StackOverflow: https://stackoverflow.com/questions/69149461/what-is-escape-property-in-query-string-in-elasticsearch
The "escape" flag for query_string is not documented, and it's unclear what it does exactly
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
As far as I understand, according to the source code
elasticsearch/server/src/main/java/org/elasticsearch/index/query/QueryStringQueryBuilder.java
Line 824 in bb9c91f
Es calls https://lucene.apache.org/core/6_6_2/queryparser/org/apache/lucene/queryparser/classic/QueryParserBase.html#escape-java.lang.String-
To escape the string
I verified that the flag itself is accepted on ES 7.3 and 7.14 (although Kibana doesn't autocomplete it, but maybe this is a separate issue)
The text was updated successfully, but these errors were encountered: