taraslayshchuk / es2csv

Export from an Elasticsearch into a CSV file
Apache License 2.0
511 stars 190 forks source link

es5 ? #19

Closed irom77 closed 7 years ago

irom77 commented 8 years ago

Does it work with es5 ?

taraslayshchuk commented 8 years ago

Not yet.

vlads-copart commented 7 years ago

Seems like all thats needed is to replace elasticsearch version to 5.1.* in requirements.txt

taraslayshchuk commented 7 years ago

No, there are a few changes in elasticsearch-py library, which should be implemented.

vlads-copart commented 7 years ago

You are right i also had to comment search_type='scan' and was able to run with elasticsearch 5.1.0 just fine..

taraslayshchuk commented 7 years ago

You did not check all of arguments. For example fields param is not present in search method.

vlads-copart commented 7 years ago

Correct. I did not use fields param. Thank you, Taras. Its a very nice utility. ES 5 is becoming more mainstream - elastic.co hosting ES5 with their cloud offering

malterb commented 7 years ago

Works for me, too. Thank you!

taraslayshchuk commented 7 years ago

ES 5 support has been added in 5.2.0 release. Please check.