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

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

Commit b3cc4b3111120c43747a60177389ff9ad7a5a840 in lucene-solr's branch 
refs/heads/branch_6x from Chris Hostetter
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b3cc4b3 ]

SOLR-9287: Including 'score' in the 'fl' param when doing an RTG no longer 
causes an NPE

(cherry picked from commit 462dc04cb6aaf3a876b56f27c6b511b00e25e85a)


> single node RTG: NPE if score is requested
> ------------------------------------------
>
>                 Key: SOLR-9287
>                 URL: https://issues.apache.org/jira/browse/SOLR-9287
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>         Attachments: SOLR-9287.patch, SOLR-9287.patch
>
>
> Found in SOLR-9180 testing.
> In single node solr setups, if an RTG request is made that includes "score" 
> in the fl, then there is an NPE from ResultContext.wantsScores.
> This does *not* happen if the same request happens in a SolrCloud setup - in 
> that case the request for "score" is silently ignored -- this seems to me 
> like the optimal behavior  (similarly: using the {{\[explain\]}} transformer 
> in the fl for an RTG is currently silently ignored for both single node and 
> solr cloud envs)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to