Use of dateOptionalTime Date field format

Hey all!

Just a quick question (hopefully). I'd like to use dateOptionalTime date
format on my schema for a date field. My dates are ISO so they look like

2013-01-24T10:08:22-05:00

or

2013-01-24T10:09:48.989-05:00

My testing shows this has worked out fine but just wanted to see if there
are any caveats.

Thanks!

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hello James,

I don't see any caveats. And by that I mean I don't see any advantage of
adding .000 to the dates that have no milliseconds, versus your current
approach.

Best regards,
Radu

http://sematext.com/ -- ElasticSearch -- Solr -- Lucene

On Tue, Jan 29, 2013 at 5:18 PM, JP Toto james.p.toto@gmail.com wrote:

Hey all!

Just a quick question (hopefully). I'd like to use dateOptionalTime date
format on my schema for a date field. My dates are ISO so they look like

2013-01-24T10:08:22-05:00

or

2013-01-24T10:09:48.989-05:00

My testing shows this has worked out fine but just wanted to see if there
are any caveats.

Thanks!

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.