Commit 084d4957 by amir

add

parent 146c15a0
Showing with 21 additions and 2 deletions
......@@ -18,4 +18,24 @@ curl -XPOST 'http://172.16.1.72:9200/activityidx/activity/_delete_by_query' -d '
}
}
}
}'
\ No newline at end of file
}'
curl -XGET "http://localhost:9200/activityidx/activity/_search" -d'
{
"query": {
"range": {
"creationTime": {
"gte": 1507036693000
}
}
}
}'
///CSV
pip install es2csv
es2csv -q 'type:"thing/*"' -u 172.16.1.72:9200 -o activities.csv -m 100 -i activityidx -f creationTime type metaData
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment