Skip to content

Improve error handling and logging information about shard failures in compound retrievers #136529

@pmpailis

Description

@pmpailis

This is a placeholder issue to improve error handling/logging for compound retrievers like rrf and linear.

In order to get all sub-retriever results, we perform an msearch and read all responses. However, if we have partial failures (i.e. some shards of one of the nested queries fail) the response is still 2xx, and these exceptions are not propagated to the user as per

This not only ends up making debugging and identifying issues with the nested queries more difficult, but also might lead to different results upon each run (e..g serialization errors so non-local requests fail) w/o a clear way to identify the cause.

Metadata

Metadata

Assignees

Labels

:Search Relevance/SearchCatch all for Search Relevance>bugTeam:Search RelevanceMeta label for the Search Relevance team in Elasticsearchpriority:highA label for assessing bug priority to be used by ES engineers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions