Skip to content

Instantly share code, notes, and snippets.

@lukewertz
Created February 20, 2013 05:04
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 lukewertz/c5d1170dd60278d7e671 to your computer and use it in GitHub Desktop.
Save lukewertz/c5d1170dd60278d7e671 to your computer and use it in GitHub Desktop.
{
"bundle" : {
"index_analyzer" : "indexAnalyzer",
"search_analyzer" : "searchAnalyzer",
"properties" : {
"id" : {
"type" : "integer"
},
"last_indexed" : {
"type" : "date",
"format" : "YYYY-MM-DD HH:mm:ss"
},
"movies" : {
"type" : "nested",
"properties" : {
"_id" : {
"type" : "string"
},
"_index" : {
"type" : "string"
},
"_source" : {
"dynamic" : "true",
"properties" : {
"last_updated" : {
"type" : "string"
},
"title" : {
"type" : "string"
},
"year" : {
"type" : "string"
}
}
},
"_type" : {
"type" : "string"
},
"_version" : {
"type" : "long"
},
"exists" : {
"type" : "boolean"
},
"title" : {
"type" : "string"
},
"year" : {
"type" : "date",
"format" : "YYYY"
}
}
},
"title" : {
"type" : "string",
"store" : "yes"
},
"username" : {
"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