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/06 18:03:11 UTC

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

Hoss Man created SOLR-9287:
------------------------------

             Summary: 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


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