Skip to content

Instantly share code, notes, and snippets.

@dhollinger
Forked from ycombinator/bulk_request_body.txt
Created June 22, 2016 20:07
Show Gist options
  • Save dhollinger/35591d387db102d319f07e13ee916457 to your computer and use it in GitHub Desktop.
Save dhollinger/35591d387db102d319f07e13ee916457 to your computer and use it in GitHub Desktop.
Hands-on Elasticsearch Workshop for php[tek] - bulk API request body
{"index": {"_id": "7192265"}}
{"sku": "7192265", "name": "Skullcandy - Hesh 2 Wireless Over-the-Ear Headphones - Blue/Black", "description": "Wirelessly enjoy rich, powerful audio with these Skullcandy Hesh 2 S6HBHW-515 over-the-ear headphones, which easily pair with most Bluetooth-enabled devices. A detachable 4' cable lets you enjoy your music while the battery recharges.", "price": 99.99, "sale_price": 49.99, "qty_in_stock": 69, "brand": "Skullcandy", "color": [ "blue", "black" ]}
{"index": {"_id": "7902883"}}
{"sku": "7902883", "name": "Bose® - SoundLink® Color Bluetooth Speaker - Black", "description": "Enjoy clear, full-range sound you might not expect from a compact speaker. This small, durable and simple-to-use Bose® SoundLink® Color Bluetooth speaker has voice prompts to ensure simplified Bluetooth pairing, letting you easily connect to devices.", "price": 129.99, "sale_price": 116.99, "qty_in_stock": 134, "brand": "Bose", "color": "black"}
{"index": {"_id": "5838295"}}
{"sku": "5838295", "name": "Ion Audio - Cassette Bluetooth Adapter - Black", "description": "This Ion Audio ITR20 Bluetooth adapter transforms your cassette deck into a Bluetooth receiver, so you can rock out to your digital music collection on the road. The plug-and-play operation and rechargeable battery enable simple set-up and streaming.", "price": 24.99, "qty_in_stock": 45, "brand": "Ion Audio", "color": "black"}
{"index": {"_id": "4392500"}}
{"sku": "4392500", "name": "Insignia™ - Charging Case for LG Tone and Insignia™ Bluetooth Headsets - Black", "description": "Charge and protect your Bluetooth headset with this Insignia™ NS-CAHCC03 charging case, which features a 2200 mAh capacity for sustained power. The included micro USB charging cable lets you power up the case with ease.", "price": 24.99, "qty_in_stock": 344, "brand": "Insignia", "color": "black"}
{"index": {"_id": "3044852"}}
{"sku": "3044852", "name": "Beats by Dr. Dre - Beats Studio Wireless Over-the-Ear Headphones - Black", "description": "Rock out to your favorite songs with these Beats by Dr. Dre Beats Studio Wireless 900-00198-01 headphones that feature a Beats Acoustic Engine and DSP software for enhanced clarity. ANC (Adaptive Noise Cancellation) allows you to focus on your tunes.", "price": 379.99, "sale_price": 279.99, "qty_in_stock": 500, "brand": "Beats by Dr. Dre", "color": "black"}
{"index": {"_id": "8618364"}}
{"sku": "8618364", "name": "Sony - ZX Series On-Ear Headphones - White", "description": "These Sony ZX Series MDRZX110/WHI headphones feature neodymium magnets and 30mm drivers for powerful, reinforced sound. Enjoy your favorite songs with lush bass response thanks to the Acoustic Bass Booster technology.", "price": 19.99, "qty_in_stock": 203, "brand": "Sony", "color": "white"}
{"index": {"_id": "8691023"}}
{"sku": "8691023", "name": "Beats by Dr. Dre - Solo 2 On-Ear Wireless Headphones - Space Gray", "description": "Rock out to lush, powerful sound with these Beats by Dr. Dre Solo 2 MHNG2AM/A headphones, which connect to your Bluetooth-enabled device from up to 30' away. Padded, pivoting earcups and an ergonomic design provide comfort and a stylish look.", "price": 299.99, "sale_price": 199.99, "qty_in_stock": 343, "brand": "Beats by Dr. Dre", "color": "gray"}
{"index": {"_id": "7394014"}}
{"sku": "7394014", "name": "LG - Tone Pro Wireless Headset - Blue", "description": "Take calls and listen to music comfortably with this LG Tone Pro HBS-760.ACBBBLI Bluetooth headset, which features a lightweight, behind-the-neck design and simple wireless connectivity to your compatible device. Jog buttons offer easy-access controls.", "price": 69.99, "sale_price": 55.99, "qty_in_stock": 344, "brand": "LG Electronics", "color": "blue"}
{"index": {"_id": "4375600"}}
{"sku": "4375600", "name": "Skullcandy - Uproar Wireless On-Ear Headphones - White", "description": "Leave tangled wires behind with these Skullcandy Uproar S5URHW-457 on-ear wireless headphones, which feature built-in Bluetooth for pairing with your compatible device. The adjustable headband and synthetic leather ear pillows offer comfortable listening.", "price": 49.99, "sale_price": 29.99, "qty_in_stock": 234, "brand": "Skullcandy", "color": "white"}
{"index": {"_id": "6848136"}}
{"sku": "6848136", "name": "Apple - EarPods™ with Remote and Mic - White", "description": "Control media playback, adjust the volume and answer and end calls on your Apple® iPod®, iPhone® or iPad® with these Apple EarPods™ MD827LL/A, which feature an in-line remote and mic for ease of use.", "price": 29.99, "qty_in_stock": 410, "brand": "Apple", "color": "white"}
{"index": {"_id": "5566001"}}
{"sku": "5566001", "name": "Beats by Dr. Dre - Solo 2 On-Ear Headphones - Red", "description": "These Beats by Dr. Dre Solo 2 900-00136-01 on-ear headphones feature a compact, foldable design for easy portability. The included RemoteTalk cable lets you take calls and control music with most iOS devices.", "price": 199.99, "sale_price": 99.99, "qty_in_stock": 631, "brand": "Beats by Dr. Dre", "color": "red"}
{"index": {"_id": "2238141"}}
{"sku": "2238141", "name": "Skullcandy - Hesh 2 Wireless Over-the-Ear Headphones - Camo", "description": "Listen to your favorite tunes with these Skullcandy Hesh 2 S6HBGY-367 over-the-ear headphones, which feature an adjustable headband for comfortable wear. Built-in Bluetooth allows you to control your phone, and the wireless design stays out of your way.", "price": 99.99, "sale_price": 49.99, "qty_in_stock": 639, "brand": "Skullcandy", "color": "camo"}
{"index": {"_id": "3695167"}}
{"sku": "3695167", "name": "Apple - $15 iTunes Gift Card - Blue/Purple", "description": "iTunes Gift Cards are perfect for anyone who enjoys one-stop entertainment. Each card features an iTunes Store code redeemable for music, movies, TV shows, games, apps, and more. Recipients can access content on an iPod, iPad or iPhone, Mac, or PC.", "price": 15.00, "qty_in_stock": 1009, "brand": "Apple", "color": "blue"}
{"index": {"_id": "4375605"}}
{"sku": "4375605", "name": "Skullcandy - Hesh 2 Wireless Over-the-Ear Headphones - Silver/Black/Charcoal", "description": "Privately listen to your music with these Skullcandy Hesh 2 S6HBHY-516 over-the-ear wireless headphones, which feature sound isolation to minimize background noise. The built-in Bluetooth lets you pair with your compatible device.", "price": 99.99, "sale_price": 49.99, "qty_in_stock": 23, "brand": "Skullcandy", "color": [ "silver", "black", "charcoal" ]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment