Closed
Description
For ES query fired at an index having say 5 shards, if correct results are returned from 4 shards and an exception thrown from one shard, the ES JSON response for _shards
section may look something like below:
"_shards": {
"total": 5,
"successful": 4,
"failed": 1,
"failures": [
{
"index": "<indexname>",
"shard": 4,
"status": 500,
"reason": "<error message>"
}
]
}
ISearchResponse<T>
does expose how many shards succeeded and how many failed but does not expose the failure reason. <error message>
may be something like IndexOutOfBoundsException[Index: 1, Size: 1]
.
Am I missing something here or is this really not supported by Nest1.0? If later, is there any plan to support this?
Metadata
Metadata
Assignees
Labels
No labels