You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (Created JIRA)" <ji...@apache.org> on 2012/03/18 15:42:39 UTC

[jira] [Created] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

OpenExchangeRates.Org Exchange Rate Provider
--------------------------------------------

                 Key: SOLR-3255
                 URL: https://issues.apache.org/jira/browse/SOLR-3255
             Project: Solr
          Issue Type: New Feature
          Components: Schema and Analysis
    Affects Versions: 3.6, 4.0
            Reporter: Jan Høydahl
             Fix For: 3.6, 4.0


An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Hoss Man (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236260#comment-13236260 ] 

Hoss Man commented on SOLR-3255:
--------------------------------

looks pretty cool, but that listAvailableCurrencies smells kind of fishy in general, and with this patch smells even fishier (depending on the arg, it either returs a list of string codes, or a list of string code perumtations with a comma separator?)

If we're seeing now, with multiple Provider impls, that the API doens't make sense -- we should bite the bullet and change it before it's public.

perhaps two methods: listAvailableCurrencies() that returns a Set<String> and listAvailableConversions that returns Map<String,String> ?

                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236497#comment-13236497 ] 

Jan Høydahl commented on SOLR-3255:
-----------------------------------

Yea, or just implement the listAvailableCurrencies() for now and let a concrete use case add listAvailableConversions() later if needed.
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3255:
------------------------------

    Attachment: SOLR-3255.patch

Slightly improved Noggit JSON parsing loop. Removed a few unnecessary imports. Fixed order of assertEquals() params.
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3255:
------------------------------

    Attachment: SOLR-3255-noggit-eof-bug.patch

Found a minor bug in noggit parsing, we do not catch the EOF
{noformat}
INFO: Noggit UNKNOWN_EVENT_ID:EOF
{noformat}

Attached is a simple patch which will be committed now.
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 4.0
>
>         Attachments: SOLR-3255-3x.patch, SOLR-3255-3x.patch, SOLR-3255-noggit-eof-bug.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Assigned] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl reassigned SOLR-3255:
---------------------------------

    Assignee: Jan Høydahl
    
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 3.6, 4.0
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3255:
------------------------------

    Attachment: SOLR-3255-3x.patch

This is the patch for merge back to branch_3x. {{ant clean test javadocs-all dist}} succeeds.

Despite the freeze, I argue this should go in 3.6 as planned, as it stabilizes the interface for ExchangeRate Providers compared to SOLR-2202, it fixes a classloading bug and gives a 2nd example for how to implement providers. The Wiki docs at http://wiki.apache.org/solr/CurrencyField is already prepared for 3.6
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 4.0
>
>         Attachments: SOLR-3255-3x.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl resolved SOLR-3255.
-------------------------------

    Resolution: Fixed
    
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 4.0
>
>         Attachments: SOLR-3255-3x.patch, SOLR-3255-3x.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3255:
------------------------------

    Attachment: SOLR-3255-OpenExchangeRatesOrgProvider-plugin.jar

Attaching a jar which can be added to your class path to get this provider in Solr3.6
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 4.0
>
>         Attachments: SOLR-3255-3x.patch, SOLR-3255-3x.patch, SOLR-3255-OpenExchangeRatesOrgProvider-plugin.jar, SOLR-3255-noggit-eof-bug.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3255:
------------------------------

    Attachment: SOLR-3255.patch

Here's the provider implementation with tests. See http://wiki.apache.org/solr/CurrencyField for documentation. Highlights:

* Uses open, free exchange rates REST API
* Plugs into CurrencyField in schema.xml
* Can load rates json from any URL or through ResourceLoader
* Configurable refresh of rates, enforces max every 60 min (since that's the update rate of the API)

This patch also changes the ExchangeRateProvider interface slightly:
* Instead of listCurrencies() returning FROM,TO pairs (which would be 25.000 lines for all available pairs for this provider, it takes an argument, so that listCurrencies(false) returns a list of supported currencies, while listCurrencies(true) returns list of pairs

Known limitations/questions:
* The reflection for the providerClass param uses Class.forName() to instantiate the provider. But then the solr.MyClass alias does not work. How to solve this?
* Is the correct location o.a.s.schema for these providers or should we make a new package somewhere else?
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3255:
------------------------------

    Attachment: SOLR-3255.patch

Attaching the latest patch, which was just committed to TRUNK. It does:
* Add the OpenExchangeRatesOrg Provider
* Cleans up the ExchangeRateProvider. We now return a plain list of currencies supported, not all pairs:
  {{public Set<String> listAvailableCurrencies()}}
* Uses proper resource loader to load provider class with solr.* support
* Adds tests
* Adds support for loading json file locally using ResourceLoader or from URL
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 4.0
>
>         Attachments: SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241592#comment-13241592 ] 

Robert Muir commented on SOLR-3255:
-----------------------------------

I don't think we should be adding new features. But if there is a bugfix, we 
should separate that out into its own issue.

                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 4.0
>
>         Attachments: SOLR-3255-3x.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236228#comment-13236228 ] 

Mark Miller commented on SOLR-3255:
-----------------------------------

Haven't had a chance to look close, but cool!
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3255:
------------------------------

    Attachment: SOLR-3255-3x.patch

Ok, I committed the stabilization to the interface to branch_3x as part of SOLR-2202. This new patch {{SOLR-3255-3x.patch}} is a pure backport of the new {{OpenExchangeRatesOrgProvider}}. It's basically adding one class for the provider, with a test case class, as well as a comment in schema.xml.

If there is interest in shipping this with 3.6 it's a push of a button away :)
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 4.0
>
>         Attachments: SOLR-3255-3x.patch, SOLR-3255-3x.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3255) OpenExchangeRates.Org Exchange Rate Provider

Posted by "Jan Høydahl (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3255:
------------------------------

    Attachment: SOLR-3255.patch

Fixed the class loading issue, by using schema.getResourceLoader().findClass() when loading the providerClass.

Any other comments?
                
> OpenExchangeRates.Org Exchange Rate Provider
> --------------------------------------------
>
>                 Key: SOLR-3255
>                 URL: https://issues.apache.org/jira/browse/SOLR-3255
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 3.6, 4.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: CurrencyField
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3255.patch, SOLR-3255.patch, SOLR-3255.patch
>
>
> An exchange rate provider for CurrencyField using the freely available feed from http://openexchangerates.org/

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org