Aggregations APICommand-line optionsElasticsearch compatible APIMetricsQuery Language ReferenceREST APIUpdating the doc mapping of an index