Open polyfractal opened 4 years ago
Pinging @elastic/es-docs (>docs)
Pinging @elastic/es-analytics-geo (:Analytics/Aggregations)
Pinging @elastic/es-analytics-geo (Team:Analytics)
Pinging @elastic/es-docs (Team:Docs)
Pinging @elastic/es-analytical-engine (Team:Analytics)
Most aggs (pipeline and regular) support a
format
option, which is somewhat context-dependent. E.g. for date_histo, it accepts a date string formatter as described in the mapping format options page. Other aggs, like numerics and all pipeline aggs, accepts a javaDecimalFormatter
string pattern.As far as I can tell, non-date formatters are not described anywhere. We should probably make a unified location which describes the different kinds of formatters and their parameters, then point to it from all the various aggregations.