elasticsearch-py icon indicating copy to clipboard operation
elasticsearch-py copied to clipboard

Official Python client for Elasticsearch

Results 122 elasticsearch-py issues
Sort by recently updated
recently updated
newest added

**Describe the feature**: `pyproject.toml` has become the de facto python project standard, perhaps we should replace the current `setup.py` with a tool such as [hatch](https://github.com/pypa/hatch)?

good first issue

Assumes the JSON report includes all necessary file information, meaning the hardcoded [`files_to_generate`](https://github.com/elastic/elasticsearch-py/blob/main/utils/generate-examples.py#L42C1-L43C21) list can be ignored.

**Describe the feature**: **Elasticsearch version** (`bin/elasticsearch --version`): **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: latest Please make sure the major version matches the Elasticsearch server you are running. **Description of the problem including expected...

Category: Bug
Area: Documentation

Hi, I am required to still run ES 7 in my environment and so I have to rely on elasticsearch-py 7.17 for my Python stuff. While upgrading requests to the...

**Elasticsearch version** (`bin/elasticsearch --version`): 8.x **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 8.6.1 Please make sure the major version matches the Elasticsearch server you are running. **Description of the problem including expected versus actual...

Category: Bug

As shown in #2273 and #2321, using the `List` type in a library can be unnecessarily restrictive as it's an invariant type: https://mypy.readthedocs.io/en/stable/generics.html#variance-of-generic-types. This issue is about finding other cases...

When building python-elasticsearch on a fast (DDR5-generation) machine, it fails tests often. On an older machine, it passes. **Elasticsearch version** (`bin/elasticsearch --version`): NA **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 8.10.0 Please make sure...

Adds support for `410 Gone` HTTP response status, so a more useful exception is raised when an Elasticsearch API is unavailable. See https://github.com/elastic/elasticsearch/pull/97397.

**Elasticsearch version**: 8.6.1 (docker) **`elasticsearch-py` version**: 8.7.0 **Description of the problem including expected versus actual behavior**: I am using the `async_bulk` from `helpers` to fill my index with documents. If...

When `stats_only` is False, return a tuple of `(results, errors)`, where `results` is the list of bulk results and `errors` is the current errors list.