Class SearchStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SearchStats.Builder,SearchStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SearchStats> Json deserializer forSearchStats -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchStats.Builderbuilder()final LongThe average slice count of all search requests.final LongThe number of currently running query operations using concurrent segment search.final TimeAPI name:concurrent_query_timefinal LongThe total amount of time taken by all query operations using concurrent segment search, in milliseconds.final LongThe total number of query operations using concurrent segment search.booleanfinal longRequired - The number of currently running shard fetch operations.final TimeThe total amount of time taken to complete all shard fetch operations.final longRequired - The total amount of time taken to complete all shard fetch operations, in milliseconds.final longRequired - The total number of shard fetch operations.final Map<String, SearchStats> groups()The search statistics grouped by search groups.inthashCode()static SearchStatsfinal LongThe number of open search contexts.final LongThe number of currently open shard PIT contexts.final TimeAPI name:point_in_time_timefinal LongThe amount of time that shard PIT contexts have been held open since the node last restarted, in milliseconds.final LongThe total number of shard Point in Time (PIT) contexts created (completed and active) since the node last restarted.final longRequired - The number of currently running shard query operations.final TimeThe total amount of time taken to complete all shard query operations.final longRequired - The total amount of time taken to complete all shard query operations, in milliseconds.final longRequired - The total number of shard query operations.final Map<String, RequestStats> request()Statistics related to coordinator search operations for the node.final longRequired - The number of shard scroll operations that are currently running.final TimeThe total amount of time taken to complete all shard scroll operations.final longRequired - The total amount of time taken to complete all shard scroll operations, in milliseconds.final longRequired - The total number of shard scroll operations.final LongThe total number of idle search reactivations.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - The number of currently running shard suggest operations.final TimeThe total amount of time take to complete all shard suggest operations.final longRequired - The total amount of time taken to complete all shard suggest operations, in milliseconds.final longRequired - The total number of shard suggest operations.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSearchStats
-
-
Method Details
-
of
-
concurrentAvgSliceCount
The average slice count of all search requests. This is computed as the total slice count divided by the total number of concurrent search requests.API name:
concurrent_avg_slice_count -
concurrentQueryCurrent
The number of currently running query operations using concurrent segment search.API name:
concurrent_query_current -
concurrentQueryTime
API name:concurrent_query_time -
concurrentQueryTimeInMillis
The total amount of time taken by all query operations using concurrent segment search, in milliseconds.API name:
concurrent_query_time_in_millis -
concurrentQueryTotal
The total number of query operations using concurrent segment search.API name:
concurrent_query_total -
fetchCurrent
public final long fetchCurrent()Required - The number of currently running shard fetch operations.API name:
fetch_current -
fetchTime
The total amount of time taken to complete all shard fetch operations.API name:
fetch_time -
fetchTimeInMillis
public final long fetchTimeInMillis()Required - The total amount of time taken to complete all shard fetch operations, in milliseconds.API name:
fetch_time_in_millis -
fetchTotal
public final long fetchTotal()Required - The total number of shard fetch operations.API name:
fetch_total -
groups
The search statistics grouped by search groups.API name:
groups -
openContexts
The number of open search contexts.API name:
open_contexts -
pointInTimeCurrent
The number of currently open shard PIT contexts.API name:
point_in_time_current -
pointInTimeTime
API name:point_in_time_time -
pointInTimeTimeInMillis
The amount of time that shard PIT contexts have been held open since the node last restarted, in milliseconds.API name:
point_in_time_time_in_millis -
pointInTimeTotal
The total number of shard Point in Time (PIT) contexts created (completed and active) since the node last restarted.API name:
point_in_time_total -
queryCurrent
public final long queryCurrent()Required - The number of currently running shard query operations.API name:
query_current -
queryTime
The total amount of time taken to complete all shard query operations.API name:
query_time -
queryTimeInMillis
public final long queryTimeInMillis()Required - The total amount of time taken to complete all shard query operations, in milliseconds.API name:
query_time_in_millis -
queryTotal
public final long queryTotal()Required - The total number of shard query operations.API name:
query_total -
request
Statistics related to coordinator search operations for the node.API name:
request -
scrollCurrent
public final long scrollCurrent()Required - The number of shard scroll operations that are currently running.API name:
scroll_current -
scrollTime
The total amount of time taken to complete all shard scroll operations.API name:
scroll_time -
scrollTimeInMillis
public final long scrollTimeInMillis()Required - The total amount of time taken to complete all shard scroll operations, in milliseconds.API name:
scroll_time_in_millis -
scrollTotal
public final long scrollTotal()Required - The total number of shard scroll operations.API name:
scroll_total -
searchIdleReactivateCountTotal
The total number of idle search reactivations.API name:
search_idle_reactivate_count_total -
suggestCurrent
public final long suggestCurrent()Required - The number of currently running shard suggest operations.API name:
suggest_current -
suggestTime
The total amount of time take to complete all shard suggest operations.API name:
suggest_time -
suggestTimeInMillis
public final long suggestTimeInMillis()Required - The total amount of time taken to complete all shard suggest operations, in milliseconds.API name:
suggest_time_in_millis -
suggestTotal
public final long suggestTotal()Required - The total number of shard suggest operations.API name:
suggest_total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SearchStats.Builder,SearchStats> - Returns:
- a new builder instance.
-
builder
-
setupSearchStatsDeserializer
-
hashCode
public int hashCode() -
equals
-