I want to extract full dump that is all available documents from index "X" using python code and save it to json file. But currently M able to extract few documents only using below command. For this I am using elasticsearch python librarry
res = es.search(index="X",body={"query":{"match_all":{}}})
I recall hearing about elasticdump (third party component not supported here) in the past but am not sure it supports exporting CSV and am not sure about version compatibility. Have not used it myself.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.