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] Analytics Job: Handle index patterns in the same way as search and reindex #49854

Open
hendrikmuhs opened this issue Dec 5, 2019 · 1 comment
Labels
>enhancement :ml Machine learning

Comments

@hendrikmuhs
Copy link
Contributor

hendrikmuhs commented Dec 5, 2019

Analytics validation succeeds if at least 1 index is expanded:

"source": {
    "index": ["existing", "missing"]
  },

The validator expands index as a whole without checking individual parts like missing and succeeds because "existing" expands to 1 index.

This is different to search and reindex, which would fail for this case.

Additionally patterns like this:

"source": {
    "index": "missing*"
  },

fail, but are valid for reindex/search.

Similar to: #49851

@hendrikmuhs hendrikmuhs added >enhancement :ml Machine learning labels Dec 5, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :ml Machine learning
Projects
None yet
Development

No branches or pull requests

2 participants