<!--

** Please read the guidelines below. **

1.  GitHub is reserved for bug reports and feature requests. The best place to
    ask a general question is at the Elastic [forums](https://discuss.elastic.co).
    GitHub is not the place for general questions.

2.  Please fill out EITHER the feature request block or the bug report block
    below, and delete the other block.

3.  For issues with API definition please note that the API is [auto
    generated](https://github.com/elastic/elasticsearch-py/blob/main/CONTRIBUTING.md#api-code-generation)
    so any problems should be checked and reported against [the Elasticsearch
    repo](https://github.com/elastic/elasticsearch) instead.

Thank you!

-->

<!-- Feature request -->

**Describe the feature**:

<!-- Bug report -->

**Elasticsearch version** (`bin/elasticsearch --version`):

**`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 

Please make sure the major version matches the Elasticsearch server you are running.

**Description of the problem including expected versus actual behavior**:

**Steps to reproduce**:
