lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ÖZGÜR YALÇIN (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SOLR-11308) CurrencyFields can not be multiValued
Date Fri, 01 Sep 2017 02:03:00 GMT

     [ 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:     (was: 7.2)
                           (was: 7.1)
                           (was: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message