diff --git a/server/src/main/java/org/opensearch/index/search/stats/SearchStats.java b/server/src/main/java/org/opensearch/index/search/stats/SearchStats.java index a2a936920e0d6..14aaf7e58a59c 100644 --- a/server/src/main/java/org/opensearch/index/search/stats/SearchStats.java +++ b/server/src/main/java/org/opensearch/index/search/stats/SearchStats.java @@ -60,7 +60,7 @@ public class SearchStats implements Writeable, ToXContentFragment { /** - * Statistics for search + * Holds statistic values for a particular phase. * * @opensearch.internal */ @@ -107,6 +107,11 @@ public void writeTo(StreamOutput out) throws IOException { } + /** + * Holds requests stats for different phases. + * + * @opensearch.internal + */ public static class RequestStatsLongHolder { Map requestStatsHolder = new HashMap<>();