Skip to content

Instantly share code, notes, and snippets.

@sameek
Created March 28, 2012 03:10
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 sameek/2223250 to your computer and use it in GitHub Desktop.
Save sameek/2223250 to your computer and use it in GitHub Desktop.
bulk message format
{ "create" : { "_index" :"idx_testtable", "_type" :"test_type", "_id" :"1","_version" :1}}
{ "test_type" :{"id":1,"Description":"A computer is a programmable machine designed to sequentially and automatically carry out a sequence of arithmetic or logical operations"}}
{ "create" : { "_index" :"idx_testtable", "_type" :"test_type", "_id" :"2","_version" :1}}
{ "test_type" :{"id":2,"Description":"The particular sequence of operations can be changed readily, allowing the computer to solve more than one kind of problem."}}
{ "create" : { "_index" :"idx_testtable", "_type" :"test_type", "_id" :"3","_version" :1}}
{ "test_type" :{"id":3,"Description":"hello-world"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment