: I am facing an issue on solr search version 7.x. I want to create a
: currencyFIeldType in my managed-schema file. In order to do that I created
: the following entries :
: 
:  *  <fieldType name="currency" class="solr.CurrencyFieldType"  *
: *           amountLongSuffix="_l_ns" codeStrSuffix="_s_ns"*
: *           defaultCurrency="USD" currencyConfig="currency.xml" />*

that configuration instructs this instance of CurrencyFieldType to use a 
local file named "currency.xml" in order to know what the exchange rates 
are between the various currencies it encounters.

: When I restart solr every time I get this exception :
        ...
: *Caused by: org.apache.solr.core.SolrResourceNotFoundException: Can't find
: resource 'currency.xml' in classpath or

...that error indicates that CurrencyFieldType can not find the file 
'currency.xml' file you told it to use.

Please review the docs for information on the various options for how to 
specify the exchange rates...

https://lucene.apache.org/solr/guide/7_3/working-with-currencies-and-exchange-rates.html



-Hoss
http://www.lucidworks.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to