From 2bac049856cae502faf0bf0260a5d300af483ca3 Mon Sep 17 00:00:00 2001 From: loveuer Date: Wed, 8 May 2024 19:15:00 +0800 Subject: [PATCH] doc: update doc add source example --- readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 900920f..948d160 100644 --- a/readme.md +++ b/readme.md @@ -28,6 +28,8 @@ esgo2dump --input=http://127.0.0.1:9200/some_index --output=http://192.168.1.1:9 esgo2dump --input=https://username:password@127.0.0.1:9200/some_index --output=./data.json +esgo2dump --input=http://127.0.0.1:9200/some_index --source='id;name;age;address;phones' --output=./data.json + esgo2dump --input=http://127.0.0.1:9200/some_index --output=./data.json --query='{"match": {"name": "some_name"}}' esgo2dump --input=http://127.0.0.1:9200/some_index --output=./data.json --query_file=my_queries.json @@ -48,4 +50,5 @@ esgo2dump --input=http://127.0.0.1:9200/some_index --output=./data.json --query_ - [x] es to es - [x] auto create index with mapping - [ ] auto create index with mapping,setting -- [ ] support es8 \ No newline at end of file +- [ ] support es8 +- [ ] support es6 \ No newline at end of file