Class DocStats
java.lang.Object
co.elastic.clients.elasticsearch._types.DocStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DocStats>
Json deserializer forDocStats
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
count()
Required - Total number of non-deleted documents across all primary shards assigned to selected nodes.final Long
deleted()
Total number of deleted documents across all primary shards assigned to selected nodes.static DocStats
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDocStats
-
-
Method Details
-
of
-
count
public final long count()Required - Total number of non-deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.API name:
count
-
deleted
Total number of deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments. Elasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.API name:
deleted
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDocStatsDeserializer
-