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

**Elasticsearch version**: `Version: 8.3.2, Build: deb/8b0b1f23fbebecc3c88e4464319dea8989f374fd/2022-07-06T15:15:15.901688194Z, JVM: 18.0.1.1` **`elasticsearch-py` version**: `8.3.1` **Description of the problem**: When passing an iterable containing raw undecoded JSON strings as the `actions` argument to `elasticsearch.helpers.bulk()`...

# question In the case of the version environment of python3.9.5, the latest version and multiple historical version packages cannot run normally. The same code runs without problems in python3.6.5....

When sending a SQL single query to the elasticsearch server i get the results back, but without the cursor id to scroll or paginate through the results. Is there any...

**Elasticsearch version** (`bin/elasticsearch --version`): Version: 8.2.2, Build: default/docker/9876968ef3c745186b94fdabd4483e01499224ef/2022-05-25T15:47:06.259735307Z, JVM: 18.0.1.1 **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 8.2.3 Sniffing callback uses Transport instance directly to perform `/_nodes/_all/http` requests. https://github.com/elastic/elasticsearch-py/blob/0da2ba901514447089f8a290f0ddba4f18cf53f8/elasticsearch/_async/client/_base.py#L172 However, both Authorization and opaque-id...

Category: Bug

**More Verbose Errors for RequestError type**: While developing new features for search templates or updating synonyms, often times a developer will receive a 400 error, (RequestError) without any other additional...

Could a maintainer please upload release 7.17.3 for conda/mamba? Thank you! ``` Looking for: ['bokeh==2.3.3', 'boto3==1.20.54', "cudatoolkit[version='>=11.2']", 'elasticsearch-dsl==7.4.0', 'elasticsearch==7.17.3', 'matplotlib-base==3.5.1', 'nltk==3.6.7', 'imbalanced-learn==0.9.0', 'pandas==1.4.2', 'pyod==0.9.9', 'pyspark==3.2.1', 'scikit-learn==1.0.2', 'seaborn==0.11.2', 'statsmodels==0.13.2', 'tensorflow-gpu==2.7.0'] Pinned...

There is currently the "scan" helper, which is built on top of scroll, but since scroll is not recommended any more, should this not be built on top of search...

feature request

According to [documentation](https://elasticsearch-py.readthedocs.io/en/7.9.1/async.html?highlight=expand_action_callback#bulk-and-streaming-bulk) : ``` import asyncio from elasticsearch import AsyncElasticsearch from elasticsearch.helpers import async_bulk es = AsyncElasticsearch() async def gendata(): mywords = ['foo', 'bar', 'baz'] for word in mywords:...

Currently APIs return dictionaries for JSON response bodies however this makes it impossible to determine transport-level information per-response and makes adding type hints not possible for more complex responses. ```python...

enhancement
8.x

I have an application which was creating and discarding `Elasticsearch` objects on the fly in a few contexts. Unfortunately, when GC runs and cleans up `Elasticsearch`, it cleans out the...