Skip to content

Instantly share code, notes, and snippets.

@jbuck
Created January 26, 2014 17:26
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 jbuck/8636152 to your computer and use it in GitHub Desktop.
Save jbuck/8636152 to your computer and use it in GitHub Desktop.
MakeAPI Staging and Production mappings
{
"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"
},
"editurl": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"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": "boolean"
},
"remixedFrom": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"remixurl": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"reports": {
"properties": {
"_id": {
"type": "string"
},
"userId": {
"type": "long"
}
}
},
"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"
}
}
}
}
{
"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"
},
"editurl": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"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": "boolean"
},
"remixedFrom": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"remixurl": {
"type": "string",
"index": "not_analyzed",
"omit_norms": true,
"index_options": "docs"
},
"reports": {
"properties": {
"_id": {
"type": "string"
},
"userId": {
"type": "long"
}
}
},
"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