elastic / elasticsearch-dsl-py

High level Python client for Elasticsearch
http://elasticsearch-dsl.readthedocs.org
Apache License 2.0
3.84k stars 803 forks source link

Accept Terms value to be any iterable #1887

Closed roxanebellot closed 3 months ago

roxanebellot commented 3 months ago

Fixes https://github.com/elastic/elasticsearch-dsl-py/issues/1641

CLA is signed, PR is rebased !

pquentin commented 3 months ago

Thank you for your persistence Roxane!

abrin commented 2 months ago

fyi -- the way this is implemented a term of "test" will turn into a query for ['t","e","s","t"]. not sure if this is intended, but it caught me by surprise

pquentin commented 2 months ago

@abrin Good news! This was fixed in https://github.com/elastic/elasticsearch-dsl-py/releases/tag/v8.15.3, released one hour ago.