On 5/11/2019 2:06 PM, Abhijit Pawar wrote:
"ISODate("2019-03-12T21:53:16.841Zā€)ā€  saves the date in mongoDB as*
2019-05-09 21:53:16.841Z* which is passed to SOLR while indexing.
  It  then throws below error:
*java.text.ParseException: Unparseable date: "Tue Mar 12 21:53:16 UTC 2019"*

If that error is coming from Solr, it clearly states that what Solr is receiving is "Tue Mar 12 21:53:16 UTC 2019" ... not the ISO format.

You do have a date transform configured, but it is looking for the ISO format, not the format that Solr is receiving.

Thanks,
Shawn

Reply via email to