elasticsearch/elasticsearch — Issue #1446: Mapping: Improve applying guessed types on dynamic templates
Author: kimchy
Created: 2011-11-09 06:15:22+00:00
State: open
Labels: enhancement, v0.18.3, v0.19.0

In 0.18, we changed the behavior to first check if there is a matched template before checking if the type is possibly a date (cause it matches a date pattern). We can improve this by checking against `p_string` (possibly string type), and then, check against `string` type after we check if its a date or not.