Skip to content

Instantly share code, notes, and snippets.

@WilliamSalusky
Created March 25, 2015 20:17
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 WilliamSalusky/9d7ccdb5b69de099e619 to your computer and use it in GitHub Desktop.
Save WilliamSalusky/9d7ccdb5b69de099e619 to your computer and use it in GitHub Desktop.
### We've been mucking about with path (totally not understanding the examples)
# curl http://localhost:9200/hod/_mapping?pretty
{
"hod" : {
"mappings" : {
"domain" : {
"_timestamp" : {
"enabled" : true,
"path" : "domain.first_seen"
},
"properties" : {
"count" : {
"type" : "long"
},
"domain" : {
"type" : "string"
},
"first_seen" : {
"type" : "date",
"format" : "dateOptionalTime"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment