Skip to content

Instantly share code, notes, and snippets.

@mjschranz
Created November 7, 2013 16:30
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 mjschranz/910b0023ef11b833caa0 to your computer and use it in GitHub Desktop.
Save mjschranz/910b0023ef11b833caa0 to your computer and use it in GitHub Desktop.
// Master branch locally
{
"makes": {
"make": {
"properties": {
"author": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"contentType": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"createdAt": {
"type": "long"
},
"deletedAt": {
"type": "long"
},
"description": {
"type": "string"
},
"email": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"likes": {
"type": "object"
},
"locale": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"published": {
"type": "boolean",
"index": "not_analyzed"
},
"remixedFrom": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"tags": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"thumbnail": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"title": {
"type": "string"
},
"updatedAt": {
"type": "long"
},
"url": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
}
}
}
}
}
// Bug #917710 Locally
{
"makes": {
"make": {
"properties": {
"author": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"contentType": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"createdAt": {
"type": "long"
},
"deletedAt": {
"type": "long"
},
"description": {
"type": "string"
},
"email": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"likes": {
"type": "object"
},
"locale": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"published": {
"type": "boolean",
"index": "not_analyzed"
},
"remixedFrom": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"tags": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"thumbnail": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"title": {
"type": "string"
},
"updatedAt": {
"type": "long"
},
"url": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
}
}
}
}
}
// MakeAPI Production
// ElasticSearch Version: 0.90.0, JVM: 1.7.0_45(23.7-b01)
{
"makes": {
"make": {
"properties": {
"author": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"contentType": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"contenturl": {
"type": "string"
},
"createdAt": {
"type": "long"
},
"deletedAt": {
"type": "long"
},
"description": {
"type": "string"
},
"email": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"likes": {
"properties": {
"_id": {
"type": "string"
},
"userId": {
"type": "long"
}
}
},
"locale": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"published": {
"type": "object"
},
"remixedFrom": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"tags": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"thumbnail": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"title": {
"type": "string"
},
"updatedAt": {
"type": "long"
},
"url": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
}
}
}
}
}
// MakeAPI Staging
// ElasticSearch Version: 0.90.0, JVM: 1.7.0_21(23.7-b01)
{
"makes": {
"make": {
"properties": {
"author": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"contentType": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"contenturl": {
"type": "string"
},
"createdAt": {
"type": "long"
},
"deletedAt": {
"type": "long"
},
"description": {
"type": "string"
},
"email": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"likes": {
"properties": {
"_id": {
"type": "string"
},
"userId": {
"type": "long"
}
}
},
"locale": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"published": {
"properties": {
"createdAt": {
"type": "long"
},
"deletedAt": {
"type": "long"
},
"published": {
"type": "boolean"
},
"tags": {
"type": "string"
},
"updatedAt": {
"type": "long"
}
}
},
"remixedFrom": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"tags": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"thumbnail": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"title": {
"type": "string"
},
"updatedAt": {
"type": "long"
},
"url": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment