Skip to content

Instantly share code, notes, and snippets.

@impy88
Last active August 29, 2015 14:23
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 impy88/7e3e5a8b597c42a3dad7 to your computer and use it in GitHub Desktop.
Save impy88/7e3e5a8b597c42a3dad7 to your computer and use it in GitHub Desktop.
Detection type mapping for ES 1.6
{
"detection":{
"properties":{
"doc": {
"properties":{
"detectionTime":{
"type":"date",
"store":true,
"format":"date_time"
},
"assetPosition":{
"type":"geo_point",
"store":true
},
"detectionPosition":{
"type":"geo_point",
"store":true
},
"plates":{
"type":"string"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment