[
https://issues.apache.org/jira/browse/SOLR-17053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779502#comment-17779502
]
David Smiley commented on SOLR-17053:
-------------------------------------
+1. Put differently, only use "partialResults" if at least one shard
succeeded. I could imagine making this configurable to a number of shards that
must succeed for the tolerance requested but here we at least reflect the
reality of a failure to the client if none succeed.
> Distributed search: if all shards fail, fail the request despite
> shards.tolerant
> --------------------------------------------------------------------------------
>
> Key: SOLR-17053
> URL: https://issues.apache.org/jira/browse/SOLR-17053
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: search
> Affects Versions: 8.6
> Reporter: Aparna Suresh
> Priority: Minor
>
> If the request is tolerant to errors, logic in SearchHandler simply sets
> partialResults to true upon detecting an error in ShardResponse. This means a
> failure to query any shard would be reported back as partialResults=true,
> instead of a query failure.
> Why: Improve the error handling and reporting in the search system by making
> sure that query failures are distinct from partial results
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]