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:45:05 GMT

    [ https://issues.apache.org/jira/browse/SOLR-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469643
] 

Erik Hatcher commented on SOLR-134:
-----------------------------------

  1) Failure:
test_xml_date(FieldTest) [./test/unit/field_test.rb:27]:
<"<field name='what_time_should_we_party_as_if_it_is'>1999-12-31T08:00:00Z</field>">
expected but was
<"<field name='what_time_should_we_party_as_if_it_is'>1999-12-31T05:00:00Z</field>">.

I'm cool with this sort of patch though, so once we get the test working, consider it committed.

> 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