Skip to content

Commit

Permalink
(API+) CAT Nodes alias for shard header to match CAT Allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefnestor committed Feb 28, 2024
1 parent 0fb3a6e commit 7f4377c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/cat/nodes.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Time spent in suggest, such as `0`.
`suggest.total`, `suto`, `suggestTotal`::
Number of suggest operations, such as `0`.

`shard_stats.total_count`, `sstc`, `shardStatsTotalCount`::
`shard_stats.total_count`, `sstc`, `shards`, `shardStatsTotalCount`::
Number of shards assigned.

`mappings.total_count`, `mtc`, `mappingsTotalCount`::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ protected Table getTableWithHeader(final RestRequest request) {

table.addCell(
"shard_stats.total_count",
"alias:sstc,shardStatsTotalCount;default:false;text-align:right;desc:number of shards assigned"
"alias:sstc,shards,shardStatsTotalCount;default:false;text-align:right;desc:number of shards assigned"
);

table.addCell("mappings.total_count", "alias:mtc,mappingsTotalCount;default:false;text-align:right;desc:number of mappings");
Expand Down

0 comments on commit 7f4377c

Please sign in to comment.