Now date format can be specified by mapping for specified type. Documents said "The parsing of dates uses Joda. The default date parsing used if no format is specified is ISODateTimeFormat.dateOptionalTimeParser.".
How to change the default date format globally, not type specified?
If you want to change the format of dates for types that are automatically
introduced, then you can change the dynamic mappings explained here: http://www.elasticsearch.com/docs/elasticsearch/mapping/dynamic_mapping/. I
have just added this section to the mapping area (it used to be documented
under the mapper module).
-shay.banon
On Fri, Apr 2, 2010 at 10:25 PM, HubertChang huixiu@gmail.com wrote:
Now date format can be specified by mapping for specified type. Documents
said "The parsing of dates uses Joda. The default date parsing used if no
format is specified is ISODateTimeFormat.dateOptionalTimeParser.".
How to change the default date format globally, not type specified?
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.