pub struct ShardStats {
pub total: u64,
pub successful: u64,
pub skipped: u64,
pub failed: u64,
}Expand description
Per-shard execution tally from a _search/_count response’s _shards.
When failed is non-zero the result is partial: matches on the failed
shards are silently absent. OpenSearch still answers 200.
Fields§
§total: u64Shards the query was sent to.
successful: u64Shards that answered successfully.
skipped: u64Shards skipped (e.g. by the can-match pre-filter).
failed: u64Shards that errored — their matches are missing from the result.
Trait Implementations§
Source§impl Clone for ShardStats
impl Clone for ShardStats
Source§fn clone(&self) -> ShardStats
fn clone(&self) -> ShardStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShardStats
Source§impl Debug for ShardStats
impl Debug for ShardStats
Source§impl Default for ShardStats
impl Default for ShardStats
Source§fn default() -> ShardStats
fn default() -> ShardStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShardStats
impl RefUnwindSafe for ShardStats
impl Send for ShardStats
impl Sync for ShardStats
impl Unpin for ShardStats
impl UnsafeUnpin for ShardStats
impl UnwindSafe for ShardStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more