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

ÖZGÜR YALÇIN updated SOLR-11308:
--------------------------------
    Affects Version/s: 7.2
                       7.1
                       master (8.0)
                       7.0

> CurrencyFields can not be multiValued
> -------------------------------------
>
>                 Key: SOLR-11308
>                 URL: https://issues.apache.org/jira/browse/SOLR-11308
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Schema and Analysis
>    Affects Versions: 6.6, master (8.0)
>         Environment: CENTOS 6.9
>            Reporter: ÖZGÜR YALÇIN
>
> {code:java}
> <fieldType name="currency" class="solr.CurrencyField" 
> currencyConfig="currency.xml" defaultCurrency="USD" precisionStep="8"/>
> {code}
> *When I use multiValued currency field as follows :*
> {code:java}
> <field name="price" type="currency" multiValued="true"/>
> {code}
> *it gives an error like that :* "collection: 
> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
> Could not load conf for core collection: Can't load schema 
> /opt/solr/server/solr/collection/conf/managed-schema: CurrencyFields can not 
> be multiValued: price"
> *+You have to use tdouble with multiValued for prices alternatively.+*
> {code:java}
> <fieldType name="tdouble" class="solr.TrieDoubleField" 
> positionIncrementGap="0" docValues="true" precisionStep="8"/>
> <field name="price" type="tdouble" multiValued="true"/>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to