We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to set X-opaque-Id to header to track task. There is API in elasticsearch, Can't I use it using this library?
https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html#_identifying_running_tasks
The text was updated successfully, but these errors were encountered:
+1. I was wondering the same. How to set this in python elasticsearch library?
Sorry, something went wrong.
es = Elasticsearch(["http://localhost:9200"], headers={"x-opaque-id": "123456"}) res = es.search(...)
This has been fixed in #1135, can be set per API request or on the client like so: This will be available in elasticsearch>=7.6.0.
elasticsearch>=7.6.0
es = Elasticsearch(..., opaque_id="app-1") es.search(..., opaque_id="request-2")
No branches or pull requests
I want to set X-opaque-Id to header to track task.
There is API in elasticsearch, Can't I use it using this library?
https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html#_identifying_running_tasks
The text was updated successfully, but these errors were encountered: