mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
.. | ||
README.md |
elasticdump
$ alias elasticdump='docker run --rm --net host -v $PWD:/data -w /data elasticdump/elasticsearch-dump'
$ query='{"query": {"query_string": {"query": "+hello:world +foo:bar"}}}'
$ elasticdump --input=http://127.0.0.1:9200/index_name output=result.json --searchBody="$query"