You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2016/07/11 22:18:11 UTC

[jira] [Resolved] (SOLR-9287) single node RTG: NPE if score is requested

     [ https://issues.apache.org/jira/browse/SOLR-9287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man resolved SOLR-9287.
----------------------------
       Resolution: Fixed
         Assignee: Hoss Man
    Fix Version/s: master (7.0)
                   6.2

thanks for the help Ishan

> 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
>            Assignee: Hoss Man
>             Fix For: 6.2, master (7.0)
>
>         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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org