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

Deprecation Warning for ES v7 #481

Open
lucasmoeskops opened this issue May 10, 2024 · 0 comments
Open

Deprecation Warning for ES v7 #481

lucasmoeskops opened this issue May 10, 2024 · 0 comments

Comments

@lucasmoeskops
Copy link

lucasmoeskops commented May 10, 2024

The search_index command calls es_conn.indices.get_alias() which causes a deprecation warning from Elasticsearch 7 because it fetches hidden indices as well.

This is annoying for logging because it is send to stdout/stderr.

Solution could be to prevent fetching system indices:

es_conn.indices.get_alias(index='*,-.*')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant