The documentationhttp://www.elasticsearch.org/guide/reference/mapping/date-format/on date-formats suggest to get yyyyMMdd format mapping to use "format":
"basic_date".
However, when querying the _mapping for a type with a "type":"date", I get
"format":"dateOptionalTime" instead of "date_optional_time" as per the
documentation.
So what is it, camelCase or under_bars when specifying date formats?
Could someone update the documentation please?
The documentationhttp://www.elasticsearch.org/guide/reference/mapping/date-format/on date-formats suggest to get yyyyMMdd format mapping to use "format":
"basic_date".
However, when querying the _mapping for a type with a "type":"date", I get
"format":"dateOptionalTime" instead of "date_optional_time" as per the
documentation.
So what is it, camelCase or under_bars when specifying date formats?
Could someone update the documentation please?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.