mozilla / elasticutils

[deprecated] A friendly chainable ElasticSearch interface for python
http://elasticutils.rtfd.org
BSD 3-Clause "New" or "Revised" License
243 stars 76 forks source link

Make S's values_list and values_dict Elasticsearch 1.0 compatible #206

Closed robhudson closed 10 years ago

robhudson commented 10 years ago

With Elasticsearch 1.0, any time you query with fields the values always come back as lists. This assumes this everywhere and forces it for Elasticsearch < 1.0 to be consistent.

willkg commented 10 years ago

Just clarifying in case anyone else looks at this:

We had a long talk and decided ElasticUtils 0.9 will only support Elasticsearch 0.90 and lower. I'm going to finish up the work and release it ASAP.

Then the next version of ElasticUtils will support Elasticsearch 0.90 and 1.0 and we'll drop support for versions of Elasticsearch prior to 0.90. That'll make some of this code easier and reduce the combination of things we're testing.

willkg commented 10 years ago

Had to tweak the commit. Landed it in 4e6d6d3 Make S's values_list and values_dict Elasticsearch 1.0 compatible