Michael Kosten created SOLR-15595:
-------------------------------------
Summary: Partial results from shard queries needlessly discarded
for scoring queries
Key: SOLR-15595
URL: https://issues.apache.org/jira/browse/SOLR-15595
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 8.8.2, 8.8.1, 8.9, 8.8, 8.7, 8.6.3, 8.6.2, 8.6.1, 8.6,
8.5.2, 8.5.1, 8.5, 8.4.1, 8.4, 8.3.1, 8.3, 8.2, 8.1.1, 8.1
Reporter: Michael Kosten
SOLR-9882 introduced a behavior change in handing partial results from a shard
when a timeout occurs. If a shard returns partial results and an empty
sortValues, then all the results for a shard are discarded. For a scoring
query the sortValues is empty, so partial results results are never included in
the merged results. If all shards timeout, then zero results are returned.
Co-incidentally, in some timeout scenarios sortValues is null. This was
recently addressed in SOLR-14758, but that code is impacted by the proposed
change, which is to set sortValues to an empty list if is null and to no longer
skip merging the shard results when sortValues is empty and the shard results
are partial. There may be necessary changes further down in the merge phase
when sortValues are missing, partial results are returned and the sortSpec
expects sortValues.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]