Re: Solr not preserving milliseconds precision for zero milliseconds

2017-10-06 Thread Pratik Patel
Thanks for the clarification. I'll change my code to accommodate this behavior. On Thu, Oct 5, 2017 at 6:24 PM, Chris Hostetter wrote: > : > "startTime":"2013-02-10T18:36:07.000Z" > ... > : handler. It gets added successfully but when I retrieve this document > back > : using "id

Re: Solr not preserving milliseconds precision for zero milliseconds

2017-10-05 Thread Chris Hostetter
: > "startTime":"2013-02-10T18:36:07.000Z" ... : handler. It gets added successfully but when I retrieve this document back : using "id" I get following. ... : > "startTime":"2013-02-10T18:36:07Z", ... : As you can see, the milliseconds precision in date fiel

Solr not preserving milliseconds precision for zero milliseconds

2017-10-05 Thread Pratik Patel
Hello Everyone, Say I have a document like one below. > { > "id":"test", > "startTime":"2013-02-10T18:36:07.000Z" > } I add this document to solr index using the admin UI and "update" request handler. It gets added successfully but when I retrieve this document back using "id"