Coder Social home page Coder Social logo

Comments (1)

taraslayshchuk avatar taraslayshchuk commented on May 26, 2024
root@7d23d3593134:/usr/share/elasticsearch# curl -s -XPOST localhost:9200/testindex/testdoc/ --data '{"thai-lang": "ทเว้นตี้ช๊อป ภูเวียง"}'
{"_index":"testindex","_type":"testdoc","_id":"AV0O7WedNbIzGY64QBNY","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true}

root@7d23d3593134:/usr/share/elasticsearch# es2csv -i testindex -q '*' -o test.csv
Found 1 results
Run query [#####################################################################################################################################################################] [1/1] [100%] [0:00:00] [Time: 0:00:00] [210.4 docs/s]
Write to csv [###############################################################################################################################################################] [1/1] [100%] [0:00:00] [Time: 0:00:00] [  1.5 Kilines/s]

root@7d23d3593134:/usr/share/elasticsearch# cat test.csv 
thai-lang
ทเว้นตี้ช๊อป ภูเวียง
root@7d23d3593134:/usr/share/elasticsearch# uname -a
Linux 7d23d3593134 4.9.12-moby #1 SMP Tue Feb 28 12:11:36 UTC 2017 x86_64 GNU/Linux
root@7d23d3593134:/usr/share/elasticsearch# es2csv --version
es2csv 5.2.1
root@7d23d3593134:/usr/share/elasticsearch# elasticsearch --version
Version: 5.2.1, Build: db0d481/2017-02-09T22:05:32.386Z, JVM: 1.8.0_121

from es2csv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.