Class FieldDataStats.GlobalOrdinalsStats

java.lang.Object
org.elasticsearch.index.fielddata.FieldDataStats.GlobalOrdinalsStats
Enclosing class:
FieldDataStats

public static class FieldDataStats.GlobalOrdinalsStats extends Object
The global ordinal stats. Keeps track of total build time for all fields that support global ordinals. Also keeps track of build time per field and the maximum unique value on a shard level.

Global ordinals can speed up sorting and aggregations, but can be expensive to build (dependents on number of unique values). Each time a refresh happens global ordinals need to be rebuilt. These stats should give more insight on these costs.