Re: Solr currency function and asymmetric rates
I didn't see any response to this so I'm going to conclude that this is unexpected behavior and file a Jira ticket. From: Murray Johnston Sent: Tuesday, May 12, 2020 3:39:14 PM To: solr-user@lucene.apache.org Subject: Solr currency function and asymmetric rates Message from External Sender I have a question / potential bug. The currency function created in https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_SOLR-2D4138=DwIFAw=9Hv6XPedRSA-5PSECC38X80c1h60_XWA4z1k_R1pROA=Lq9lNqDiwvMQkBC0o6YEad-z2TbtIWGO1Suwsz_Idvo=Y6eHhsypMRcTwmpwyZXk0FvgjDBkS9ai7WAu4yT2RDA=lV8SSGroDcMito64o1K4w0kX-TOWded5CEmtjt1Q69c= first converts the field to the default currency before then converting to the currency requested as part of the function. When dealing with asymmetric rates, that leads to incorrect conversions. Is this intended? If not, is it required that CurrencyFieldType.getValueSource convert to default currency? Thanks, -Murray
Re: Solr currency function and asymmetric rates
check out the videos on this website TROO.TUBE don't be such a sheep/zombie/loser/NPC. Much love! https://troo.tube/videos/watch/aaa64864-52ee-4201-922f-41300032f219 On Tue, May 12, 2020 at 5:39 PM Murray Johnston wrote: > > I have a question / potential bug. The currency function created in > https://issues.apache.org/jira/browse/SOLR-4138 first converts the field to > the default currency before then converting to the currency requested as part > of the function. When dealing with asymmetric rates, that leads to incorrect > conversions. Is this intended? If not, is it required that > CurrencyFieldType.getValueSource convert to default currency? > > > Thanks, > > > -Murray
Solr currency function and asymmetric rates
I have a question / potential bug. The currency function created in https://issues.apache.org/jira/browse/SOLR-4138 first converts the field to the default currency before then converting to the currency requested as part of the function. When dealing with asymmetric rates, that leads to incorrect conversions. Is this intended? If not, is it required that CurrencyFieldType.getValueSource convert to default currency? Thanks, -Murray