diff --git a/docs/reference/cat/nodes.asciidoc b/docs/reference/cat/nodes.asciidoc index 8ad8783614f..d32e7cb5f1c 100644 --- a/docs/reference/cat/nodes.asciidoc +++ b/docs/reference/cat/nodes.asciidoc @@ -134,6 +134,12 @@ Used query cache memory, such as `0b`. `query_cache.evictions`, `qce`, `queryCacheEvictions`:: Query cache evictions, such as `0`. +`query_cache.hit_count`, `qchc`, `queryCacheHitCount`:: +Query cache hit count, such as `0`. + +`query_cache.miss_count`, `qcmc`, `queryCacheMissCount`:: +Query cache miss count, such as `0`. + `request_cache.memory_size`, `rcm`, `requestCacheMemory`:: Used request cache memory, such as `0b`. diff --git a/server/src/main/java/org/elasticsearch/rest/action/cat/RestNodesAction.java b/server/src/main/java/org/elasticsearch/rest/action/cat/RestNodesAction.java index 883d2f259a4..fd0114a4731 100644 --- a/server/src/main/java/org/elasticsearch/rest/action/cat/RestNodesAction.java +++ b/server/src/main/java/org/elasticsearch/rest/action/cat/RestNodesAction.java @@ -183,8 +183,7 @@ public class RestNodesAction extends AbstractCatAction { table.addCell("query_cache.miss_count", "alias:qcmc,queryCacheMissCount;default:false;text-align:right;desc:query cache miss counts"); - table.addCell("request_cache.memory_size", - "alias:rcm,requestCacheMemory;default:false;text-align:right;desc:used request cache"); + table.addCell("request_cache.memory_size", "alias:rcm,requestCacheMemory;default:false;text-align:right;desc:used request cache"); table.addCell("request_cache.evictions", "alias:rce,requestCacheEvictions;default:false;text-align:right;desc:request cache evictions"); table.addCell("request_cache.hit_count",