I\'m new to Solr. I successfully indexed some data, but after passing a date attribute to an appropriate solr field I\'m receiving an exception:
I\'m passing the Str
According to the Solr DateField documentation, this format is required:
date field shall be of the form 1995-12-31T23:59:59Z The trailing "Z" designates UTC time and is mandatory (See below for an explanation of UTC). Optional fractional seconds are allowed, as long as they do not end in a trailing 0 (but any precision beyond milliseconds will be ignored). All other parts are mandatory.
The only option is to transform the date prior to sending it into Solr. If you are using DataImportHandler, it would be possible within that context/process.