elasticsearch-py
elasticsearch-py copied to clipboard
Official Python client for Elasticsearch
**Elasticsearch version** (`bin/elasticsearch --version`): N/A **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 7.11.0 **Description of the problem including expected versus actual behavior**: Using `elasticsearch.helpers.bulk()` produces the following backtrace: ``` Traceback (most recent call last):...
see https://github.com/elastic/elasticsearch-py/issues/1004
Please allow retry on other statuses as well, not just 429. i.e. You can take in an argument which defaults to [429] or some callback to test the status or...
**Describe the feature**: **Elasticsearch version** (`bin/elasticsearch --version`): 7.14.1 **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 7.14.1 **Description of the problem including expected versus actual behavior**: When running tests sequentially using `pytest` everything works fine,...
As raised by issue #1261, when the endpoint POST /_search/scroll answers with failures indications they are not provided in the exception or log to help troubleshoot the root cause. This...
This PR solves the issue of the `streaming_bulk` and `parallel_bulk` helpers discarding original input actions while exhausting the generator. Somewhat related to #940 and probably solves that issue as well....
Generate these structures using https://github.com/elastic/elasticsearch-specification and make them available through `elasticsearch.types.*` modules. This will allow having type-hints for APIs, especially useful for complex structures like query DSL: ```python from elasticsearch...
Current `elasticsearch-py` release does not have support to [Elasticsearch composite aggregation API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-composite-aggregation.html). Since I am using it, I handled the composite aggregation pagination manually, by multiple searches with the proper...
**Elasticsearch version** (`bin/elasticsearch --version`): 7.6.1 **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 7.5.1 **Description of the problem including expected versus actual behavior**: The scan() helper function only logs the number of successful vs failed...