lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-134) Handle Time values in fields correctly (UTC + ISO 8601)
Date Fri, 02 Feb 2007 02:49:05 GMT

    [ 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/solr-user@lucene.apache.org/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.


Mime
View raw message