[ 
https://issues.apache.org/jira/browse/SOLR-13823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961823#comment-16961823
 ] 

ASF subversion and git services commented on SOLR-13823:
--------------------------------------------------------

Commit 0e3a66be436c3ec2a8d9691f38de99d98f325e2c in lucene-solr's branch 
refs/heads/branch_8x from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0e3a66b ]

SOLR-13823: fix ClassCastEx in group.query when score is requested

* This makes sures score computed for standalone and distributed
  is same for group.query. This is done by using mainQuery to compute
  scores


> 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) 
>          Components: search
>    Affects Versions: 8.2, 8.1.1
>            Reporter: Uwe Jäger
>            Assignee: Munendra S N
>            Priority: Major
>              Labels: Grouping
>         Attachments: SOLR-13823.patch, SOLR-13823.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to