[
https://issues.apache.org/jira/browse/SOLR-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469644
]
Erik Hatcher commented on SOLR-134:
-----------------------------------
Do also note that Solr can tackle date math in its own configuration:
http://www.mail-archive.com/[email protected]/msg01563.html - though
I agree that if we're handing a Time or Date to Solr that it does the most
responsible thing it can with it, as shown in your patch.
> Handle Time values in fields correctly (UTC + ISO 8601)
> -------------------------------------------------------
>
> Key: SOLR-134
> URL: https://issues.apache.org/jira/browse/SOLR-134
> Project: Solr
> Issue Type: Improvement
> Components: clients - ruby - flare
> Reporter: Coda Hale
> Attachments: solrb_xml_time.diff
>
>
> Here's a patch for automatically converting Time objects in fields to the
> UTC/ISO 8601 format that Solr can parse.
> Which means this will work:
> connection.add(:id => 1, :created_at => Time.now)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.