Advertisement
VladimirLavrenchuk

bulk

Dec 19th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. curl -s -H "Content-Type: application/x-ndjson" -XPOST localhost:9200/_bulk?refresh=true --data-binary "@bulk"
  2. curl -s -H "Content-Type: application/x-ndjson" -XPOST localhost:9200/_bulk --data-binary "@bulk"
  3. curl localhost:9200/vlavrenc-63cb805b-af3b-4434-95f4-a8729a3f8faa/tasks/_search -d '{"query":{"match_all":{}}, "size":20}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement