elasticsearch/docs/reference/cluster
Martijn van Groningen 6566bb4075
Add global ordinal info to stats APIs. (#94500)
This change adds:
* Total global ordinal build time for all fields and per field.
* Max shard value count per field. The value count is per shard and of the shard with the highest count. Reporting value on index level or across indices is too expensive to report or keep track of.

This is added to common stats, which
is exposed in several stats APIs.

The following api call:

```
GET /_nodes/stats?filter_path=nodes.*.indices.fielddata&fields=key,key2
```

Returns:

```
{
    "nodes": {
        "pcMNy4GsQ8ef6Rw-bI2EFg": {
            "indices": {
                "fielddata": {
                    "memory_size_in_bytes": 2552,
                    "evictions": 0,
                    "fields": {
                        "key2": {
                            "memory_size_in_bytes": 1320
                        },
                        "key": {
                            "memory_size_in_bytes": 1232
                        }
                    },
                    "global_ordinals": {
                        "build_time_in_millis": 8,
                        "fields": {
                            "key2": {
                                "build_time_in_millis": 4,
                                "shard_max_value_count": 4
                            },
                            "key": {
                                "build_time_in_millis": 4,
                                "shard_max_value_count": 4
                            }
                        }
                    }
                }
            }
        }
    }
}
```
2023-04-24 10:45:27 +02:00
..
allocation-explain.asciidoc Make allocation explanations more actionable (#83983) 2022-02-22 09:23:01 +00:00
delete-desired-balance.asciidoc Reset desired balance (#94525) 2023-04-20 08:03:48 +02:00
delete-desired-nodes.asciidoc Add support for CPU ranges in desired nodes (#86434) 2022-05-20 11:47:32 +02:00
get-desired-balance.asciidoc Make relocatingNodeIsDesired nullable when not relocating (#94279) 2023-03-20 12:49:16 +01:00
get-desired-nodes.asciidoc Add support for CPU ranges in desired nodes (#86434) 2022-05-20 11:47:32 +02:00
get-settings.asciidoc Update get-settings.asciidoc (#91538) 2022-12-22 15:54:26 +01:00
health.asciidoc Port gradle docs test plugin to use internal yaml rest test plugin (#86598) 2022-05-11 12:01:23 +02:00
nodes-hot-threads.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
nodes-info.asciidoc Add transport_version to node info JSON (#94669) 2023-03-24 09:00:01 +00:00
nodes-reload-secure-settings.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
nodes-stats.asciidoc Report transport message size per action (#94543) 2023-03-28 12:05:18 -04:00
nodes-usage.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
pending.asciidoc Adding priority list and executing description to the pending tasks doc (#74456) (#78259) 2021-09-23 11:17:18 -04:00
prevalidate-node-removal.asciidoc Prevalidate node removal API (pt. 2) (#91256) 2022-11-28 11:51:51 +01:00
remote-info.asciidoc Document partial search results with skip_unavailable (#84057) 2022-02-23 10:04:52 -05:00
reroute.asciidoc Deprecate state field in /_cluster/reroute response (#90399) 2022-10-05 08:18:27 +02:00
state.asciidoc Clarify cluster state API docs (#82930) 2022-01-24 10:09:45 -05:00
stats.asciidoc Add global ordinal info to stats APIs. (#94500) 2023-04-24 10:45:27 +02:00
tasks.asciidoc Clarify wait_for_completion doc in the Task API (#93754) 2023-02-13 18:29:14 +01:00
update-desired-nodes.asciidoc Support "dry run" mode for updating Desired Nodes (#88305) 2022-07-26 09:03:12 +02:00
update-settings.asciidoc [DOCS] Re-add cluster settings precedence (#82738) 2022-01-18 12:32:43 -05:00
voting-exclusions.asciidoc Small fixes to clear voting config excls API (#87828) 2022-06-20 10:40:39 +01:00