[
https://issues.apache.org/jira/browse/SOLR-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17942137#comment-17942137
]
Torsten Krah edited comment on SOLR-3002 at 4/9/25 9:02 AM:
------------------------------------------------------------
Quite interesting, more than 7 years later this one was reported again under
SOLR-13806 and fixed with
[6d03baa48571|https://github.com/apache/lucene-solr/commit/6d03baa] - so this
one can be closed now too.
was (Author: tkrah):
Quite interesting, more than 7 years later this one was reported again under
SOLR-13806 and fixed with 6d03baa48571 - so this one can be closed now too.
> ClassCastException, wrong signature definition of
> QueryResponse.getExplainMap() - String,String given, but is String, Map
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-3002
> URL: https://issues.apache.org/jira/browse/SOLR-3002
> Project: Solr
> Issue Type: Bug
> Components: clients - java
> Affects Versions: 3.5
> Environment: java 1.6, linux
> Reporter: Torsten Krah
> Priority: Major
> Fix For: 8.4
>
>
> I am getting this exception trying to use the explainMap stuff from query
> response:
> java.lang.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap
> cannot be cast to java.lang.String
> The signature tells its <String, String> but thats not true. Signature is
> wrong or the code which does produce a map value should produce a string,
> either one needs to be fixed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]