Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Change wizard's search query to use match_all #31924

Closed
jgowdyelastic opened this issue Feb 25, 2019 · 1 comment · Fixed by #32008
Closed

[ML] Change wizard's search query to use match_all #31924

jgowdyelastic opened this issue Feb 25, 2019 · 1 comment · Fixed by #32008
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v7.0.1 v7.2.0 v8.0.0

Comments

@jgowdyelastic
Copy link
Member

jgowdyelastic commented Feb 25, 2019

In every new job wizard, the search used to retrieve the data for the line chart and for the datafeed's query uses:

"query_string": {
  "analyze_wildcard": true,
   "query": "*"
}

This can hit a problem if the index has index.query.default_field configured to be a field which isn't populated in the majority of documents.
Rather than query_string, the search should use "match_all": {}.

@jgowdyelastic jgowdyelastic added bug Fixes for quality problems that affect the customer experience :ml Feature:Anomaly Detection ML anomaly detection labels Feb 25, 2019
@jgowdyelastic jgowdyelastic self-assigned this Feb 25, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v7.0.1 v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants