I'm trying to understand what is wrong with my query or collection.
I have a functioning solr schema and collection. I'm running Solr 7.2
When I run with a facet.field it works, but if I change it to use a json.facet
it throws a class cast exception.
json.facet=prod:{type:terms,field:product,mincount:1,limit:8}
java.lang.String cannot be cast to java.util.Map
The product field is defined as
<field name="product" type="lowercase" indexed="true" stored="true" />
And lowercase is defined as:
<fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
</fieldType>
I don't have enough information to understand what its complaining about.
Thanks
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient, you
must not copy this message or attachment or disclose the contents to any other
person. If you have received this transmission in error, please notify the
sender immediately and delete the message and any attachment from your system.
Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept
liability for any omissions or errors in this message which may arise as a
result of E-Mail-transmission or for damages resulting from any unauthorized
changes of the content of this message and any attachment thereto. Merck KGaA,
Darmstadt, Germany and any of its subsidiaries do not guarantee that this
message is free of viruses and does not accept liability for any damages caused
by any virus transmitted therewith. Click http://www.merckgroup.com/disclaimer
to access the German, French, Spanish and Portuguese versions of this
disclaimer.