I am speculating here that you should use the ISO 8601 format for dates
since this is quite common and has a timezone which yours lacks
(introducing ambiguity).

The T is a common separator between the date and time parts.

On 31 March 2015 at 14:26, <phani.nadimi...@goktree.com> wrote:

> Hi All,
>
>    when i insert date to elastic search in the format of yyyy-MM-DD
> hh:mm:ss from java api getting date format exception.but when i use
> yyyy-MM-DDThh:mm:ss between them it is inserted fine.please explain me is T
> here elasticsearch standard format?
>
>   please explain me functionality of T in date.i used the default mapping
> of elasticsearch i didn't customized any thing.
>
>  mapping:
>
>     "created": {
>                   "type": "date",
>                   "format": "dateOptionalTime"
>                },
>
>
> Thanks
> phani
>
> --
> 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 elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/94b29fca-637d-4d73-84fe-6af4b6300611%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/94b29fca-637d-4d73-84fe-6af4b6300611%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAMH6%2BawJXDAs175DFWH5T5z5%2B-UvJgppKjvqPRBehzMX2R%2Bz7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to