Houston Putman created SOLR-17732:
-------------------------------------

             Summary: Improve score returning logic for distributed requests
                 Key: SOLR-17732
                 URL: https://issues.apache.org/jira/browse/SOLR-17732
             Project: Solr
          Issue Type: Bug
            Reporter: Houston Putman


Currently, returning the "score" field in a distributed request works well. 
However, any other type of "score" field, such as an alias 
(\{{score_alias:score}}), will omit the field in the response. This is because 
"score" is hardcoded in the QueryComponent.

Instead, SolrReturnFields should have a concept of "score-dependent-fields", 
that get fetched during the GET_TOP_IDS step, and merged in to the final 
document during "returnFields()", just like "score" is currently.

We can also improve the logic to determine if we should do a distributed single 
pass if only score-dependent-fields and the primary key field are requested.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to