[ 
https://issues.apache.org/jira/browse/SOLR-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erik Hatcher updated SOLR-358:
------------------------------

    Attachment: SOLR-358.patch

Patch that adds DateTime.parse around date strings when ruby.richer_types=true.

This requires that one have the date module loaded (require 'date') to eval the 
response, but then provides dates as true DateTime objects in Ruby.
                
> Implement solr-ruby-specific response capability
> ------------------------------------------------
>
>                 Key: SOLR-358
>                 URL: https://issues.apache.org/jira/browse/SOLR-358
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - ruby - flare
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>         Attachments: SOLR-358.patch
>
>
> Implement solr-ruby-specific Ruby output, such that dates get created as real 
> DateTime objects (wrap with DateTime.parse(...) is one option), and so that 
> named lists maintain name and order access cleanly.   This could be a 
> formating option for wt=ruby, or a new writer type - suggestions welcome.   
> This would make the richest way to access Solr from Ruby, with the standard 
> Hash access unaffected and suitable for cases where using an additional 
> library isn't desired.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to