http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html
The T is a standard symbol, not exclusive to any one software project. ElasticSearch uses Joda to parse dates, and it looks like the default accepts ISO 8601 which I would expect. On 31 March 2015 at 15:32, <phani.nadimi...@goktree.com> wrote: > HI James, > > Thanks for quick reply.. > > so my understanding is while inserting in to elasticsearch we need to > use T as separator other wise it won't insert in to date field from java > API because it expecting standard format of ISO 8601 am I right? > > Thanks > phani > > On Tuesday, March 31, 2015 at 7:48:42 PM UTC+5:30, James Green wrote: >> >> 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.n...@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 elasticsearc...@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/0a7fd7e8-b244-42e9-8427-752474250b07%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/0a7fd7e8-b244-42e9-8427-752474250b07%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%2BawqvJ_DOZUR2u7C%3DU7AvFFr%3DhyBoBTMRwCbdow7kZxOsg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.