elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.94k stars 24.74k forks source link

Document agg formatting options #53304

Open polyfractal opened 4 years ago

polyfractal commented 4 years ago

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 java DecimalFormatter 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.

elasticmachine commented 4 years ago

Pinging @elastic/es-docs (>docs)

elasticmachine commented 4 years ago

Pinging @elastic/es-analytics-geo (:Analytics/Aggregations)

elasticsearchmachine commented 2 years ago

Pinging @elastic/es-analytics-geo (Team:Analytics)

elasticsearchmachine commented 2 years ago

Pinging @elastic/es-docs (Team:Docs)

elasticsearchmachine commented 9 months ago

Pinging @elastic/es-analytical-engine (Team:Analytics)