Skip to content

Commit 8b1f24d

Browse files
committed
add brief documentation for searchLoad
1 parent bf6ae86 commit 8b1f24d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/main/java/org/elasticsearch/index/search/stats/SearchStats.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public static class Stats implements Writeable, ToXContentFragment {
4949
private long queryFailure;
5050
private long fetchFailure;
5151

52+
//This is the ExponentiallyWeightedMovingRate for a shard, tracking execution time across different phases
53+
// (e.g., query, fetch, etc.), favoring more recent load values by assigning them greater significance than older values.
5254
private double recentSearchLoad;
5355

5456
private Stats() {

0 commit comments

Comments
 (0)