My current mapping looks like:

'sale_date': {
  'format': 'dateOptionalTime',
  'type': 'date'
}

On Sunday, February 23, 2014 4:35:36 PM UTC-6, pulkitsinghal wrote:
>
> All the out-of-the-box date formats are available here:
>
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-date-format.html
>
> But other than preprocessing a custom date format before indexing the 
> data, is there anything I can do on the mapping side to allow ES to process 
> a date like:
>
> "2013-11-23 22:39:11" and not throw errors like it is malformed at " 
> 22:39:11" ?
>
> Thanks!
>
> - Pulkit
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/61bc3b33-061d-4c02-b5ab-9bfae65c5b05%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to