Skip to content

Instantly share code, notes, and snippets.

@johtani
Last active May 12, 2016 05:56
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 johtani/1e1c67baed9d3db5a1ba to your computer and use it in GitHub Desktop.
Save johtani/1e1c67baed9d3db5a1ba to your computer and use it in GitHub Desktop.
Does not reproduce the mapping error...
$ curl -XPUT localhost:9200/test_idx -d @config.json
{"error":"MapperParsingException[mapping [test_type]]; nested: IllegalArgumentException[Invalid format: [not_analyze]: Illegal pattern component: n]; nested: IllegalArgumentException[Illegal pattern component: n]; ","status":400}jupiter:ess_env
{
"mappings": {
"test_type": {
"properties": {
"title" : {
"type": "string"
},
"timestamp" : {
"type": "date",
"format": "not_analyze"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment