Re: Packaging ElasticSearch (different version for different server API version)

2017-04-04 Thread Paul Wise
On Wed, Apr 5, 2017 at 3:21 AM, Adam Cécile wrote: > It's working just fine, and I even think it's a lot saner as I can simply do > "from elasticsearch5 import ElasticSearch" instead "from elasticsearch2 > import ElasticSearch" to test my code against a new ES5 servers cluster. > Do you think it's

Packaging ElasticSearch (different version for different server API version)

2017-04-04 Thread Adam Cécile
Hello, At the moment, python-elasticsearch is only available in version 1.x [1], which is pretty useless as it's intended to be used against ElasticSearch 1.x servers. The main problem is that the client is disitributed following multiple branches, one for servers running version 1.x, anoth