[
https://issues.apache.org/jira/browse/SOLR-11308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson resolved SOLR-11308.
-----------------------------------
Resolution: Invalid
I believe this is working as designed.
Please raise this question on the user's list at [email protected],
see: (http://lucene.apache.org/solr/community.html#mailing-lists-irc) there are
a _lot_ more people watching that list who may be able to help.
If it's determined that this really is a code issue in Solr and not a
configuration/usage problem, we can raise a new JIRA or reopen this one.
> 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
> Fix For: master (8.0), 6.6
>
>
> {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]