Skip to content

Instantly share code, notes, and snippets.

@sohangp
Created November 19, 2019 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sohangp/8e5f0db12562d886fa1129d31eeb2d4d to your computer and use it in GitHub Desktop.
Save sohangp/8e5f0db12562d886fa1129d31eeb2d4d to your computer and use it in GitHub Desktop.
Insert
$ curl -X GET http://localhost:9200/student/student/1?pretty=true
{
"_index" : "student",
"_type" : "student",
"_id" : "1",
"_version" : 31,
"_seq_no" : 30,
"_primary_term" : 1,
"found" : true,
"_source" : {
"id" : 1,
"name" : "Jack",
"address" : "Dallas, TX",
"email" : "jack@gmail.com"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment