pub struct DocStats {
pub count: u32,
pub deleted: Option<u32>,
}Fields§
§count: u32The total number of non-deleted documents across all primary shards assigned to the selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.
deleted: Option<u32>The total number of deleted documents across all primary shards assigned to the selected nodes. This number is based on the number of documents stored in Lucene segments. OpenSearch reclaims the disk space previously occupied by the deleted Lucene documents when a segment is merged.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocStats
impl<'de> Deserialize<'de> for DocStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DocStats
Auto Trait Implementations§
impl Freeze for DocStats
impl RefUnwindSafe for DocStats
impl Send for DocStats
impl Sync for DocStats
impl Unpin for DocStats
impl UnsafeUnpin for DocStats
impl UnwindSafe for DocStats
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