Skip to content

Request cache should not cache timed out searches #22789

@colings86

Description

@colings86

The request cache currently does not check to see whether the search timed out on the shard before it adds the result to the cache. We should check QueryShardResult.searchTimedOut() and only cache the result if the search did not time out.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions