You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Uwe Jäger (Jira)" <ji...@apache.org> on 2019/10/07 06:35:00 UTC
[jira] [Created] (SOLR-13823) ClassCastException when using
group.query and return score
Uwe Jäger created SOLR-13823:
--------------------------------
Summary: ClassCastException when using group.query and return score
Key: SOLR-13823
URL: https://issues.apache.org/jira/browse/SOLR-13823
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 8.1.1, 8.2
Reporter: Uwe Jäger
When grouping the results of a query with group.query there is a ClassCastException in org.apache.solr.search.Grouping.CommandQuery.finish (line 890) since the collector is wrapped in a MultiCollector.
The wanted topCollector is available in the inner class so it can be used directly and the cast is not necessary at all. After that change there are still the scores missing in the result, so populating the scores is necessary, too.
I will create a PR showing the error and also containing a fix.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org