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
As part of the ES client upgrade to 8.x, all client method's now expose the JSON body' field as typed parameters,, and the use of the body parameter is deprecated.
body
For example:
client.search( index="test-index", size=10, body={ "runtime_mappings": { "day_of_week": { "type": "keyword", "script": "emit(doc['@timestamp'].value.dayOfWeekEnum)" } }, "aggs": { "day_of_week_count": { "value_count": { "field": "day_of_week" } } } } )
Would become:
client.search( index="test-index", size=10, runtime_mappings={ "day_of_week": { "type": "keyword", "script": "emit(doc['@timestamp'].value.dayOfWeekEnum)" } }, aggs={ "day_of_week_count": { "value_count": { "field": "day_of_week" } } } )
We need to refactor all of our runners (and custom runners in rally-tracks) to use these new parameters.
The text was updated successfully, but these errors were encountered:
Another option here is to use **body instead of body.
**body
Sorry, something went wrong.
Looks like a decision was made to un-deprecate the removal of the body param.
Closing this one out for now.
No branches or pull requests
As part of the ES client upgrade to 8.x, all client method's now expose the JSON
body' field as typed parameters,, and the use of the
body
parameter is deprecated.For example:
Would become:
We need to refactor all of our runners (and custom runners in rally-tracks) to use these new parameters.
The text was updated successfully, but these errors were encountered: