Created
May 30, 2020 18:31
-
-
Save p365labs/af922a6c8785f141fb173a2ce5731ee2 to your computer and use it in GitHub Desktop.
Elasticsearch Create Repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST "localhost:9200/person/_bulk?pretty" -H 'Content-Type: application/json' -d' | |
{ "index":{} } | |
{ "name":"john doe","age":25 } | |
{ "index":{} } | |
{ "name":"mary smith","age":32 } | |
{ "index":{} } | |
{ "name":"robin green","age":15 } | |
{ "index":{} } | |
{ "name":"fred white","age":68 } | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment