[
https://issues.apache.org/jira/browse/SOLR-17985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037307#comment-18037307
]
ASF subversion and git services commented on SOLR-17985:
--------------------------------------------------------
Commit 4521a125923904b31caa425b3b5f9a4a99961529 in solr's branch
refs/heads/branch_10_0 from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=4521a125923 ]
SOLR-17985: Speed up no-rows distributed queries (#3849)
(cherry picked from commit a72691c3b119fc32976f7a5653bf3e003f23217b)
> Make rows=0 queries fast again
> ------------------------------
>
> Key: SOLR-17985
> URL: https://issues.apache.org/jira/browse/SOLR-17985
> Project: Solr
> Issue Type: Bug
> Affects Versions: 9.9
> Reporter: Houston Putman
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> SOLR-17732 improved score returning for distributed requests, but
> unfortunately it also slowed down queries that fetch no documents. This is
> because it added the {{score}} "field" to fl whenever the sort spec needed it
> (including when no sort was provided), because the distributed merge logic
> would need the value. However when zero docs are requested, there is no
> distributed merging to be done. So we are asking for scores, which make the
> search scan all documents to generate scores even though we don't need any.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]