Skip to content

Instantly share code, notes, and snippets.

View baxford's full-sized avatar

Bob Axford baxford

View GitHub Profile
@baxford
baxford / gist:5551877
Created May 10, 2013 01:44
Replicate VerifyError in ElasticSearch update/upsert script
curl -XDELETE 'http://localhost:9200/app'
curl -XPUT 'http://localhost:9200/app' -d '
{
"mappings" : {
"parent": {
"properties" : {
"children": {
"type" : "nested",
"properties" : {
"id" : {"store" : false, "type": "long", "include_in_all": false},