You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Ishan Chattopadhyaya (Jira)" <ji...@apache.org> on 2023/04/18 05:55:00 UTC
[jira] [Commented] (SOLR-16750) Grouping on EnumFieldType fields fails
[ https://issues.apache.org/jira/browse/SOLR-16750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713399#comment-17713399 ]
Ishan Chattopadhyaya commented on SOLR-16750:
---------------------------------------------
Ouch! Both single and multi shard behaviour warrant a bugfix release. Can we fix this by 9.2.1?
> Grouping on EnumFieldType fields fails
> --------------------------------------
>
> Key: SOLR-16750
> URL: https://issues.apache.org/jira/browse/SOLR-16750
> Project: Solr
> Issue Type: Bug
> Components: Grouping
> Reporter: Tomas Eduardo Fernandez Lobbe
> Priority: Minor
> Labels: newdev
> Time Spent: 10m
> Remaining Estimate: 0h
>
> For single shard collections, Solr responds with the enum index instead of the value. For multi-shard collections, Solr returns a 500 because internally it gets a ClassCastException such as:
> {noformat}
> java.lang.ClassCastException: class org.apache.solr.common.EnumFieldValue cannot be cast to class java.lang.Integer
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org