Default visualize query shouldn't include analyze_wildcard parameter #12925
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Visualizations
Generic visualization features (in case no more specific feature label is available)
PR sent
In advanced settings, there is a
query:queryString:options
setting that allows you to choose what options are included in yourquery_string
queries to Elasticsearch. It defaults to{"analyze_wildcard": true}
. It's possible to override this parameter.However, if you do set it to
{}
, and go to visualize, the query that's sent to Elasticsearch still has the{"analyze_wildcard": true}
. In fact, no matter what you set the advanced setting to, this parameter will always be sent.I checked 6.0.0-alpha2 and this was not the behavior, so it looks like it was probably introduced as part of the visualize refactor. The default query should probably just be
{"query_string": {"query": "*"}}
.The text was updated successfully, but these errors were encountered: