Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarunsapra/d2e5338bfb2cc032afe6 to your computer and use it in GitHub Desktop.
Save tarunsapra/d2e5338bfb2cc032afe6 to your computer and use it in GitHub Desktop.
POST /cars/transactions/_bulk
{ "index": {}}
{ "price" : 10000, "color" : "red", "make" : "honda", "sold" : "2014-10-28" }
{ "index": {}}
{ "price" : 20000, "color" : "red", "make" : "honda", "sold" : "2014-11-05" }
{ "index": {}}
{ "price" : 30000, "color" : "green", "make" : "ford", "sold" : "2014-05-18" }
{ "index": {}}
{ "price" : 15000, "color" : "blue", "make" : "toyota", "sold" : "2014-07-02" }
{ "index": {}}
{ "price" : 12000, "color" : "green", "make" : "toyota", "sold" : "2014-08-19" }
{ "index": {}}
{ "price" : 20000, "color" : "red", "make" : "honda", "sold" : "2014-11-05" }
{ "index": {}}
{ "price" : 80000, "color" : "red", "make" : "bmw", "sold" : "2014-01-01" }
{ "index": {}}
{ "price" : 25000, "color" : "blue", "make" : "ford", "sold" : "2014-02-12" }
{ "price" : 20000, "color" : "black", "make" : "Audi", "sold" : "2014-09-28" }
{ "index": {}}
{ "price" : 20000, "color" : "red", "make" : "Audi", "sold" : "2014-12-05" }
{ "index": {}}
{ "price" : 30000, "color" : "green", "make" : "ford", "sold" : "2014-03-18" }
{ "index": {}}
{ "price" : 5000, "color" : "blue", "make" : "Tata", "sold" : "2014-07-02" }
{ "index": {}}
{ "price" : 7000, "color" : "green", "make" : "Tata", "sold" : "2014-09-19" }
{ "index": {}}
{ "price" : 20000, "color" : "red", "make" : "Audi", "sold" : "2014-05-05" }
{ "index": {}}
{ "price" : 80000, "color" : "red", "make" : "bmw", "sold" : "2014-01-01" }
{ "index": {}}
{ "price" : 25000, "color" : "blue", "make" : "honda", "sold" : "2014-01-12" }
@bimalkeeth
Copy link

thanks this is so helpful to get initial idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment