Hello Team, 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" />* * <dynamicField name="*_s_ns" type="string" indexed="true" stored="true" />* * <dynamicField name="*_l_ns" type="plong" indexed="true" stored="true"/>* When I restart solr every time I get this exception : * at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:173)* * at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:45)* * at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:75)* * at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:119)* * at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:92)* * ... 11 more* *Caused by: org.apache.solr.core.SolrResourceNotFoundException: Can't find resource 'currency.xml' in classpath or '/home/ravi/Desktop/solr/solr-7.2.1/server/solr/192.168.9.154 <http://192.168.9.154>'* * at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:407)* * at org.apache.solr.schema.FileExchangeRateProvider.reload(FileExchangeRateProvider.java:167)* * ... 21 more* Please help me on this asap, I have a project pending at my end. Thanks & Regards Ravi Verma