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

When trying to lookup an alias that does not exist using code like client.indices.get_alias(name='bogus') , a `elasticsearch.exceptions.NotFoundError` is raised. This is expected. However when the traceback is being generated for...

we treat all `Decimal` numbers as float so when we get something like `Decimal('31124873853495702')` it breaks where we serialize it as `3.1124873853495704e+16` which is off by 2.

This is my first time using ES and I apologise if I'm missing something obvious. I'm currently using `streaming_bulk()` and it's working fine but if I switch to using `parallel_bulk()`,...

Not sure if this is a documentation error, something I misunderstood or just unintended behavior, but if I use `helpers.bulk` (which uses `streaming_bulk` in the background) and just set `max_retries=5`...

Update version parameter of the code generation automation.

Allows for templates to be used in rank_eval as by the documentation (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-rank-eval.html#_template_based_ranking_evaluation). Example: ``` import elasticsearch es = elasticsearch.Elasticsearch("http://localhost:9200") templates = [ { "id": "match_one_field_query", "template": { "inline": {"query":...

**Elasticsearch version** : 8.x **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 8.4.3 **Description of the problem including expected versus actual behavior**: **Steps to reproduce**: We can still use `routing` parameter with `open_point_in_time` in Elasticsearch...

update example has wrong parameter name(Document instead of doc) and mentions the wrong parameter 'body'.

**Elasticsearch version** (`bin/elasticsearch --version`): 8.3.1 **`elasticsearch-py` version (`elasticsearch.__versionstr__`)**: 8.4.3 Set ignored status via Elasticsearch.options is not worked. **Steps to reproduce**: ```python from elasticsearch8 import Elasticsearch es = Elasticsearch( hosts=[{'scheme': 'http',...

**`elasticsearch-py` version (8.4.3)**: In the documentation for the `search` keyword, the list of parameters contains: `source_includes` and `source_excludes`. However, I am not able to use these two parameters in actual...