From bffea693ee3ebb896cf1ac682876286cec4b0571 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Tue, 25 Oct 2022 15:08:32 +0200 Subject: [PATCH 1/2] Add missing geohex_grid aggregate --- output/schema/schema.json | 310 +++++++++++------- output/typescript/types.ts | 13 +- specification/_types/Geo.ts | 3 + .../_types/aggregations/Aggregate.ts | 17 +- 4 files changed, 225 insertions(+), 118 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index 37186eae2f..85b841f4f7 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -33025,7 +33025,7 @@ } } ], - "specLocation": "_types/Geo.ts#L135-L140" + "specLocation": "_types/Geo.ts#L138-L143" }, { "kind": "enum", @@ -34163,7 +34163,7 @@ "name": "GeoBounds", "namespace": "_types" }, - "specLocation": "_types/Geo.ts#L116-L129", + "specLocation": "_types/Geo.ts#L119-L132", "type": { "items": [ { @@ -34355,7 +34355,7 @@ } } ], - "specLocation": "_types/Geo.ts#L112-L114" + "specLocation": "_types/Geo.ts#L115-L117" }, { "codegenNames": [ @@ -34389,6 +34389,22 @@ "kind": "union_of" } }, + { + "description": "A map hex cell (H3) reference", + "kind": "type_alias", + "name": { + "name": "GeoHexCell", + "namespace": "_types" + }, + "specLocation": "_types/Geo.ts#L86-L87", + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, { "description": "A GeoJson GeoLine.", "kind": "interface", @@ -34443,7 +34459,7 @@ "name": "GeoLocation", "namespace": "_types" }, - "specLocation": "_types/Geo.ts#L91-L105", + "specLocation": "_types/Geo.ts#L94-L108", "type": { "items": [ { @@ -35558,7 +35574,7 @@ } } ], - "specLocation": "_types/Geo.ts#L107-L110" + "specLocation": "_types/Geo.ts#L110-L113" }, { "kind": "enum", @@ -38956,7 +38972,7 @@ } } ], - "specLocation": "_types/Geo.ts#L142-L145" + "specLocation": "_types/Geo.ts#L145-L148" }, { "kind": "interface", @@ -38988,7 +39004,7 @@ } } ], - "specLocation": "_types/Geo.ts#L147-L150" + "specLocation": "_types/Geo.ts#L150-L153" }, { "kind": "interface", @@ -39444,7 +39460,7 @@ } } ], - "specLocation": "_types/Geo.ts#L131-L133" + "specLocation": "_types/Geo.ts#L134-L136" }, { "kind": "interface", @@ -39686,7 +39702,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L557-L559", + "specLocation": "_types/aggregations/Aggregate.ts#L565-L567", "variantName": "adjacency_matrix" }, { @@ -39755,7 +39771,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L561-L563" + "specLocation": "_types/aggregations/Aggregate.ts#L569-L571" }, { "kind": "type_alias", @@ -39763,7 +39779,7 @@ "name": "Aggregate", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/Aggregate.ts#L31-L114", + "specLocation": "_types/aggregations/Aggregate.ts#L31-L115", "type": { "items": [ { @@ -40081,6 +40097,13 @@ "namespace": "_types.aggregations" } }, + { + "kind": "instance_of", + "type": { + "name": "GeoHexGridAggregate", + "namespace": "_types.aggregations" + } + }, { "kind": "instance_of", "type": { @@ -40262,7 +40285,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L125-L127" + "specLocation": "_types/aggregations/Aggregate.ts#L126-L128" }, { "kind": "type_alias", @@ -41369,7 +41392,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L151-L155" + "specLocation": "_types/aggregations/Aggregate.ts#L152-L156" }, { "inherits": { @@ -41405,7 +41428,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L347-L351", + "specLocation": "_types/aggregations/Aggregate.ts#L348-L352", "variantName": "auto_date_histogram" }, { @@ -41573,7 +41596,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L200-L201", + "specLocation": "_types/aggregations/Aggregate.ts#L201-L202", "variantName": "avg" }, { @@ -41744,7 +41767,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L682-L698", + "specLocation": "_types/aggregations/Aggregate.ts#L690-L706", "variantName": "box_plot" }, { @@ -42002,7 +42025,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L224-L227", + "specLocation": "_types/aggregations/Aggregate.ts#L225-L228", "variantName": "bucket_metric_value" }, { @@ -42166,7 +42189,7 @@ "name": "Buckets", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/Aggregate.ts#L307-L316", + "specLocation": "_types/aggregations/Aggregate.ts#L308-L317", "type": { "items": [ { @@ -42338,7 +42361,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L129-L132", + "specLocation": "_types/aggregations/Aggregate.ts#L130-L133", "variantName": "cardinality" }, { @@ -42638,7 +42661,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L752-L753", + "specLocation": "_types/aggregations/Aggregate.ts#L760-L761", "variantName": "children" }, { @@ -42702,7 +42725,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L602-L607", + "specLocation": "_types/aggregations/Aggregate.ts#L610-L615", "variantName": "composite" }, { @@ -42876,7 +42899,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L609-L611" + "specLocation": "_types/aggregations/Aggregate.ts#L617-L619" }, { "description": "Result of the `cumulative_cardinality` aggregation", @@ -42915,7 +42938,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L723-L731", + "specLocation": "_types/aggregations/Aggregate.ts#L731-L739", "variantName": "simple_long_value" }, { @@ -43019,7 +43042,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L339-L340", + "specLocation": "_types/aggregations/Aggregate.ts#L340-L341", "variantName": "date_histogram" }, { @@ -43280,7 +43303,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L342-L345" + "specLocation": "_types/aggregations/Aggregate.ts#L343-L346" }, { "description": "Result of a `date_range` aggregation. Same format as a for a `range` aggregation: `from` and `to`\nin `buckets` are milliseconds since the Epoch, represented as a floating point number.", @@ -43296,7 +43319,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L527-L532", + "specLocation": "_types/aggregations/Aggregate.ts#L535-L540", "variantName": "date_range" }, { @@ -43463,7 +43486,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L218-L222", + "specLocation": "_types/aggregations/Aggregate.ts#L219-L223", "variantName": "derivative" }, { @@ -43575,7 +43598,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L402-L407", + "specLocation": "_types/aggregations/Aggregate.ts#L403-L408", "variantName": "dterms" }, { @@ -43617,7 +43640,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L409-L412" + "specLocation": "_types/aggregations/Aggregate.ts#L410-L413" }, { "kind": "interface", @@ -43965,7 +43988,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L269-L287", + "specLocation": "_types/aggregations/Aggregate.ts#L270-L288", "variantName": "extended_stats" }, { @@ -44008,7 +44031,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L289-L290", + "specLocation": "_types/aggregations/Aggregate.ts#L290-L291", "variantName": "extended_stats_bucket" }, { @@ -44086,7 +44109,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L486-L487", + "specLocation": "_types/aggregations/Aggregate.ts#L487-L488", "variantName": "filter" }, { @@ -44111,7 +44134,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L552-L553", + "specLocation": "_types/aggregations/Aggregate.ts#L560-L561", "variantName": "filters" }, { @@ -44199,7 +44222,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L555-L555" + "specLocation": "_types/aggregations/Aggregate.ts#L563-L563" }, { "inherits": { @@ -44302,7 +44325,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L294-L297", + "specLocation": "_types/aggregations/Aggregate.ts#L295-L298", "variantName": "geo_bounds" }, { @@ -44368,7 +44391,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L299-L303", + "specLocation": "_types/aggregations/Aggregate.ts#L300-L304", "variantName": "geo_centroid" }, { @@ -44423,7 +44446,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L534-L538", + "specLocation": "_types/aggregations/Aggregate.ts#L542-L546", "variantName": "geo_distance" }, { @@ -44522,7 +44545,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L497-L499", + "specLocation": "_types/aggregations/Aggregate.ts#L498-L500", "variantName": "geohash_grid" }, { @@ -44624,7 +44647,62 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L501-L503" + "specLocation": "_types/aggregations/Aggregate.ts#L502-L504" + }, + { + "inherits": { + "generics": [ + { + "kind": "instance_of", + "type": { + "name": "GeoHexGridBucket", + "namespace": "_types.aggregations" + } + } + ], + "type": { + "name": "MultiBucketAggregateBase", + "namespace": "_types.aggregations" + } + }, + "kind": "interface", + "name": { + "name": "GeoHexGridAggregate", + "namespace": "_types.aggregations" + }, + "properties": [], + "specLocation": "_types/aggregations/Aggregate.ts#L514-L515", + "variantName": "geohex_grid" + }, + { + "attachedBehaviors": [ + "AdditionalProperties" + ], + "inherits": { + "type": { + "name": "MultiBucketBase", + "namespace": "_types.aggregations" + } + }, + "kind": "interface", + "name": { + "name": "GeoHexGridBucket", + "namespace": "_types.aggregations" + }, + "properties": [ + { + "name": "key", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "GeoHexCell", + "namespace": "_types" + } + } + } + ], + "specLocation": "_types/aggregations/Aggregate.ts#L517-L519" }, { "inherits": { @@ -44669,7 +44747,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L760-L767", + "specLocation": "_types/aggregations/Aggregate.ts#L768-L775", "variantName": "geo_line" }, { @@ -44801,7 +44879,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L505-L507", + "specLocation": "_types/aggregations/Aggregate.ts#L506-L508", "variantName": "geotile_grid" }, { @@ -44903,7 +44981,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L509-L511" + "specLocation": "_types/aggregations/Aggregate.ts#L510-L512" }, { "inherits": { @@ -44999,7 +45077,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L483-L484", + "specLocation": "_types/aggregations/Aggregate.ts#L484-L485", "variantName": "global" }, { @@ -45072,7 +45150,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L160-L161", + "specLocation": "_types/aggregations/Aggregate.ts#L161-L162", "variantName": "hdr_percentile_ranks" }, { @@ -45088,7 +45166,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L157-L158", + "specLocation": "_types/aggregations/Aggregate.ts#L158-L159", "variantName": "hdr_percentiles" }, { @@ -45113,7 +45191,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L331-L332", + "specLocation": "_types/aggregations/Aggregate.ts#L332-L333", "variantName": "histogram" }, { @@ -45310,7 +45388,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L334-L337" + "specLocation": "_types/aggregations/Aggregate.ts#L335-L338" }, { "kind": "interface", @@ -45595,7 +45673,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L635-L646", + "specLocation": "_types/aggregations/Aggregate.ts#L643-L654", "variantName": "inference" }, { @@ -45666,7 +45744,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L660-L663" + "specLocation": "_types/aggregations/Aggregate.ts#L668-L671" }, { "kind": "interface", @@ -45749,7 +45827,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L654-L658" + "specLocation": "_types/aggregations/Aggregate.ts#L662-L666" }, { "kind": "interface", @@ -45792,7 +45870,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L648-L652" + "specLocation": "_types/aggregations/Aggregate.ts#L656-L660" }, { "inherits": { @@ -45816,7 +45894,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L613-L614", + "specLocation": "_types/aggregations/Aggregate.ts#L621-L622", "variantName": "ip_prefix" }, { @@ -45971,7 +46049,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L616-L621" + "specLocation": "_types/aggregations/Aggregate.ts#L624-L629" }, { "inherits": { @@ -45995,7 +46073,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L540-L542", + "specLocation": "_types/aggregations/Aggregate.ts#L548-L550", "variantName": "ip_range" }, { @@ -46156,7 +46234,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L544-L548" + "specLocation": "_types/aggregations/Aggregate.ts#L552-L556" }, { "kind": "type_alias", @@ -46164,7 +46242,7 @@ "name": "KeyedPercentiles", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/Aggregate.ts#L149-L149", + "specLocation": "_types/aggregations/Aggregate.ts#L150-L150", "type": { "key": { "kind": "instance_of", @@ -46261,7 +46339,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L422-L427", + "specLocation": "_types/aggregations/Aggregate.ts#L423-L428", "variantName": "lrareterms" }, { @@ -46303,7 +46381,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L429-L432" + "specLocation": "_types/aggregations/Aggregate.ts#L430-L433" }, { "description": "Result of a `terms` aggregation when the field is some kind of whole number like a integer, long, or a date.", @@ -46328,7 +46406,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L390-L395", + "specLocation": "_types/aggregations/Aggregate.ts#L391-L396", "variantName": "lterms" }, { @@ -46370,7 +46448,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L397-L400" + "specLocation": "_types/aggregations/Aggregate.ts#L398-L401" }, { "inherits": { @@ -46460,7 +46538,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L733-L737", + "specLocation": "_types/aggregations/Aggregate.ts#L741-L745", "variantName": "matrix_stats" }, { @@ -46608,7 +46686,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L739-L748" + "specLocation": "_types/aggregations/Aggregate.ts#L747-L756" }, { "inherits": { @@ -46623,7 +46701,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L191-L192", + "specLocation": "_types/aggregations/Aggregate.ts#L192-L193", "variantName": "max" }, { @@ -46669,7 +46747,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L185-L186", + "specLocation": "_types/aggregations/Aggregate.ts#L186-L187", "variantName": "median_absolute_deviation" }, { @@ -46755,7 +46833,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L188-L189", + "specLocation": "_types/aggregations/Aggregate.ts#L189-L190", "variantName": "min" }, { @@ -46873,7 +46951,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L474-L475", + "specLocation": "_types/aggregations/Aggregate.ts#L475-L476", "variantName": "missing" }, { @@ -47172,7 +47250,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L318-L320" + "specLocation": "_types/aggregations/Aggregate.ts#L319-L321" }, { "attachedBehaviors": [ @@ -47221,7 +47299,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L322-L329" + "specLocation": "_types/aggregations/Aggregate.ts#L323-L330" }, { "kind": "interface", @@ -47266,7 +47344,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L452-L454", + "specLocation": "_types/aggregations/Aggregate.ts#L453-L455", "variantName": "multi_terms" }, { @@ -47429,7 +47507,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L456-L460" + "specLocation": "_types/aggregations/Aggregate.ts#L457-L461" }, { "kind": "interface", @@ -47479,7 +47557,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L477-L478", + "specLocation": "_types/aggregations/Aggregate.ts#L478-L479", "variantName": "nested" }, { @@ -47581,7 +47659,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L755-L756", + "specLocation": "_types/aggregations/Aggregate.ts#L763-L764", "variantName": "parent" }, { @@ -47705,7 +47783,7 @@ "name": "Percentiles", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/Aggregate.ts#L141-L142", + "specLocation": "_types/aggregations/Aggregate.ts#L142-L143", "type": { "items": [ { @@ -47754,7 +47832,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L137-L139" + "specLocation": "_types/aggregations/Aggregate.ts#L138-L140" }, { "inherits": { @@ -47832,7 +47910,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L169-L170", + "specLocation": "_types/aggregations/Aggregate.ts#L170-L171", "variantName": "percentiles_bucket" }, { @@ -47925,7 +48003,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L515-L516", + "specLocation": "_types/aggregations/Aggregate.ts#L523-L524", "variantName": "range" }, { @@ -48086,7 +48164,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L518-L525" + "specLocation": "_types/aggregations/Aggregate.ts#L526-L533" }, { "inherits": { @@ -48217,7 +48295,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L717-L721", + "specLocation": "_types/aggregations/Aggregate.ts#L725-L729", "variantName": "rate" }, { @@ -48290,7 +48368,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L480-L481", + "specLocation": "_types/aggregations/Aggregate.ts#L481-L482", "variantName": "reverse_nested" }, { @@ -48336,7 +48414,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L489-L490", + "specLocation": "_types/aggregations/Aggregate.ts#L490-L491", "variantName": "sampler" }, { @@ -48427,7 +48505,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L625-L628", + "specLocation": "_types/aggregations/Aggregate.ts#L633-L636", "variantName": "scripted_metric" }, { @@ -48557,7 +48635,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L572-L574", + "specLocation": "_types/aggregations/Aggregate.ts#L580-L582", "variantName": "siglterms" }, { @@ -48599,7 +48677,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L581-L584" + "specLocation": "_types/aggregations/Aggregate.ts#L589-L592" }, { "inherits": { @@ -48623,7 +48701,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L586-L588", + "specLocation": "_types/aggregations/Aggregate.ts#L594-L596", "variantName": "sigsterms" }, { @@ -48654,7 +48732,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L590-L592" + "specLocation": "_types/aggregations/Aggregate.ts#L598-L600" }, { "generics": [ @@ -48707,7 +48785,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L565-L570" + "specLocation": "_types/aggregations/Aggregate.ts#L573-L578" }, { "inherits": { @@ -48929,7 +49007,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L576-L579" + "specLocation": "_types/aggregations/Aggregate.ts#L584-L587" }, { "inherits": { @@ -49197,7 +49275,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L215-L216", + "specLocation": "_types/aggregations/Aggregate.ts#L216-L217", "variantName": "simple_value" }, { @@ -49253,7 +49331,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L464-L472" + "specLocation": "_types/aggregations/Aggregate.ts#L465-L473" }, { "inherits": { @@ -49304,7 +49382,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L174-L183" + "specLocation": "_types/aggregations/Aggregate.ts#L175-L184" }, { "kind": "interface", @@ -49452,7 +49530,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L251-L258" + "specLocation": "_types/aggregations/Aggregate.ts#L252-L259" }, { "kind": "interface", @@ -49528,7 +49606,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L260-L267" + "specLocation": "_types/aggregations/Aggregate.ts#L261-L268" }, { "description": "Statistics aggregation result. `min`, `max` and `avg` are missing if there were no values to process\n(`count` is zero).", @@ -49680,7 +49758,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L231-L246", + "specLocation": "_types/aggregations/Aggregate.ts#L232-L247", "variantName": "stats" }, { @@ -49711,7 +49789,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L248-L249", + "specLocation": "_types/aggregations/Aggregate.ts#L249-L250", "variantName": "stats_bucket" }, { @@ -49752,7 +49830,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L434-L438", + "specLocation": "_types/aggregations/Aggregate.ts#L435-L439", "variantName": "srareterms" }, { @@ -49783,7 +49861,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L440-L442" + "specLocation": "_types/aggregations/Aggregate.ts#L441-L443" }, { "inherits": { @@ -49969,7 +50047,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L669-L680", + "specLocation": "_types/aggregations/Aggregate.ts#L677-L688", "variantName": "string_stats" }, { @@ -50022,7 +50100,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L375-L380", + "specLocation": "_types/aggregations/Aggregate.ts#L376-L381", "variantName": "sterms" }, { @@ -50053,7 +50131,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L386-L388" + "specLocation": "_types/aggregations/Aggregate.ts#L387-L389" }, { "description": "Sum aggregation result. `value` is always present and is zero if there were no values to process.", @@ -50069,7 +50147,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L194-L198", + "specLocation": "_types/aggregations/Aggregate.ts#L195-L199", "variantName": "sum" }, { @@ -50136,7 +50214,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L166-L167", + "specLocation": "_types/aggregations/Aggregate.ts#L167-L168", "variantName": "tdigest_percentile_ranks" }, { @@ -50152,7 +50230,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L163-L164", + "specLocation": "_types/aggregations/Aggregate.ts#L164-L165", "variantName": "tdigest_percentiles" }, { @@ -50203,7 +50281,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L711-L715", + "specLocation": "_types/aggregations/Aggregate.ts#L719-L723", "variantName": "t_test" }, { @@ -50325,7 +50403,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L368-L373" + "specLocation": "_types/aggregations/Aggregate.ts#L369-L374" }, { "inherits": { @@ -50585,7 +50663,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L382-L384" + "specLocation": "_types/aggregations/Aggregate.ts#L383-L385" }, { "codegenNames": [ @@ -50768,7 +50846,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L630-L633", + "specLocation": "_types/aggregations/Aggregate.ts#L638-L641", "variantName": "top_hits" }, { @@ -50998,7 +51076,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L705-L709" + "specLocation": "_types/aggregations/Aggregate.ts#L713-L717" }, { "inherits": { @@ -51028,7 +51106,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L700-L703", + "specLocation": "_types/aggregations/Aggregate.ts#L708-L711", "variantName": "top_metrics" }, { @@ -51139,7 +51217,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L444-L450", + "specLocation": "_types/aggregations/Aggregate.ts#L445-L451", "variantName": "umrareterms" }, { @@ -51158,7 +51236,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L492-L493", + "specLocation": "_types/aggregations/Aggregate.ts#L493-L494", "variantName": "unmapped_sampler" }, { @@ -51184,7 +51262,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L594-L600", + "specLocation": "_types/aggregations/Aggregate.ts#L602-L608", "variantName": "umsigterms" }, { @@ -51210,7 +51288,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L414-L420", + "specLocation": "_types/aggregations/Aggregate.ts#L415-L421", "variantName": "umterms" }, { @@ -51227,7 +51305,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L209-L213", + "specLocation": "_types/aggregations/Aggregate.ts#L210-L214", "variantName": "value_count" }, { @@ -51307,7 +51385,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L353-L355", + "specLocation": "_types/aggregations/Aggregate.ts#L354-L356", "variantName": "variable_width_histogram" }, { @@ -51447,7 +51525,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L357-L364" + "specLocation": "_types/aggregations/Aggregate.ts#L358-L365" }, { "inherits": { @@ -51566,7 +51644,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L203-L207", + "specLocation": "_types/aggregations/Aggregate.ts#L204-L208", "variantName": "weighted_avg" }, { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 4c68a66944..742f02807d 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -2036,6 +2036,8 @@ export interface GeoHashLocation { export type GeoHashPrecision = number | string +export type GeoHexCell = string + export interface GeoLine { type: string coordinates: double[][] @@ -2599,7 +2601,7 @@ export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMulti export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & { [property: string]: AggregationsAggregate | string | long } -export type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate +export type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsGeoHexGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate export interface AggregationsAggregateBase { meta?: Metadata @@ -3082,6 +3084,15 @@ export interface AggregationsGeoHashGridBucketKeys extends AggregationsMultiBuck export type AggregationsGeoHashGridBucket = AggregationsGeoHashGridBucketKeys & { [property: string]: AggregationsAggregate | GeoHash | long } +export interface AggregationsGeoHexGridAggregate extends AggregationsMultiBucketAggregateBase { +} + +export interface AggregationsGeoHexGridBucketKeys extends AggregationsMultiBucketBase { + key: GeoHexCell +} +export type AggregationsGeoHexGridBucket = AggregationsGeoHexGridBucketKeys + & { [property: string]: AggregationsAggregate | GeoHexCell | long } + export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase { type: string geometry: GeoLine diff --git a/specification/_types/Geo.ts b/specification/_types/Geo.ts index 4ae000cd34..6bf523ef51 100644 --- a/specification/_types/Geo.ts +++ b/specification/_types/Geo.ts @@ -83,6 +83,9 @@ export type GeoHash = string /** A map tile reference, represented as `{zoom}/{x}/{y}` */ export type GeoTile = string +/** A map hex cell (H3) reference */ +export type GeoHexCell = string + export class LatLon { lat: double lon: double diff --git a/specification/_types/aggregations/Aggregate.ts b/specification/_types/aggregations/Aggregate.ts index 96aa9b99e7..8a57755bd0 100644 --- a/specification/_types/aggregations/Aggregate.ts +++ b/specification/_types/aggregations/Aggregate.ts @@ -22,7 +22,14 @@ import { AdditionalProperties, AdditionalProperty } from '@spec_utils/behaviors' import { Dictionary } from '@spec_utils/Dictionary' import { UserDefinedValue } from '@spec_utils/UserDefinedValue' import { AggregateName, Field, FieldValue, Metadata } from '@_types/common' -import { GeoBounds, GeoHash, GeoLine, GeoLocation, GeoTile } from '@_types/Geo' +import { + GeoBounds, + GeoHash, + GeoHexCell, + GeoLine, + GeoLocation, + GeoTile +} from '@_types/Geo' import { double, integer, long } from '@_types/Numeric' import { DurationLarge, EpochTime, UnitMillis } from '@_types/Time' import { Void } from '@spec_utils/VoidValue' @@ -86,6 +93,7 @@ export type Aggregate = // Geo grid | GeoHashGridAggregate | GeoTileGridAggregate + | GeoHexGridAggregate // Range | RangeAggregate | DateRangeAggregate @@ -510,6 +518,13 @@ export class GeoTileGridBucket extends MultiBucketBase { key: GeoTile } +/** @variant name=geohex_grid */ +export class GeoHexGridAggregate extends MultiBucketAggregateBase {} + +export class GeoHexGridBucket extends MultiBucketBase { + key: GeoHexCell +} + //----- Ranges /** @variant name=range */ From 75b35d3719f3bf99a5970a0196997a3bce883a24 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Wed, 26 Oct 2022 16:18:41 +0200 Subject: [PATCH 2/2] Fix schema --- output/schema/schema.json | 220 +++++++++++++++++++------------------- 1 file changed, 110 insertions(+), 110 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index 85b841f4f7..e70ca0464d 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -39702,7 +39702,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L565-L567", + "specLocation": "_types/aggregations/Aggregate.ts#L572-L574", "variantName": "adjacency_matrix" }, { @@ -39771,7 +39771,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L569-L571" + "specLocation": "_types/aggregations/Aggregate.ts#L576-L578" }, { "kind": "type_alias", @@ -39779,7 +39779,7 @@ "name": "Aggregate", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/Aggregate.ts#L31-L115", + "specLocation": "_types/aggregations/Aggregate.ts#L38-L122", "type": { "items": [ { @@ -40285,7 +40285,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L126-L128" + "specLocation": "_types/aggregations/Aggregate.ts#L133-L135" }, { "kind": "type_alias", @@ -41392,7 +41392,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L152-L156" + "specLocation": "_types/aggregations/Aggregate.ts#L159-L163" }, { "inherits": { @@ -41428,7 +41428,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L348-L352", + "specLocation": "_types/aggregations/Aggregate.ts#L355-L359", "variantName": "auto_date_histogram" }, { @@ -41596,7 +41596,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L201-L202", + "specLocation": "_types/aggregations/Aggregate.ts#L208-L209", "variantName": "avg" }, { @@ -41767,7 +41767,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L690-L706", + "specLocation": "_types/aggregations/Aggregate.ts#L697-L713", "variantName": "box_plot" }, { @@ -42025,7 +42025,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L225-L228", + "specLocation": "_types/aggregations/Aggregate.ts#L232-L235", "variantName": "bucket_metric_value" }, { @@ -42189,7 +42189,7 @@ "name": "Buckets", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/Aggregate.ts#L308-L317", + "specLocation": "_types/aggregations/Aggregate.ts#L315-L324", "type": { "items": [ { @@ -42361,7 +42361,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L130-L133", + "specLocation": "_types/aggregations/Aggregate.ts#L137-L140", "variantName": "cardinality" }, { @@ -42661,7 +42661,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L760-L761", + "specLocation": "_types/aggregations/Aggregate.ts#L767-L768", "variantName": "children" }, { @@ -42725,7 +42725,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L610-L615", + "specLocation": "_types/aggregations/Aggregate.ts#L617-L622", "variantName": "composite" }, { @@ -42899,7 +42899,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L617-L619" + "specLocation": "_types/aggregations/Aggregate.ts#L624-L626" }, { "description": "Result of the `cumulative_cardinality` aggregation", @@ -42938,7 +42938,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L731-L739", + "specLocation": "_types/aggregations/Aggregate.ts#L738-L746", "variantName": "simple_long_value" }, { @@ -43042,7 +43042,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L340-L341", + "specLocation": "_types/aggregations/Aggregate.ts#L347-L348", "variantName": "date_histogram" }, { @@ -43303,7 +43303,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L343-L346" + "specLocation": "_types/aggregations/Aggregate.ts#L350-L353" }, { "description": "Result of a `date_range` aggregation. Same format as a for a `range` aggregation: `from` and `to`\nin `buckets` are milliseconds since the Epoch, represented as a floating point number.", @@ -43319,7 +43319,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L535-L540", + "specLocation": "_types/aggregations/Aggregate.ts#L542-L547", "variantName": "date_range" }, { @@ -43486,7 +43486,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L219-L223", + "specLocation": "_types/aggregations/Aggregate.ts#L226-L230", "variantName": "derivative" }, { @@ -43598,7 +43598,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L403-L408", + "specLocation": "_types/aggregations/Aggregate.ts#L410-L415", "variantName": "dterms" }, { @@ -43640,7 +43640,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L410-L413" + "specLocation": "_types/aggregations/Aggregate.ts#L417-L420" }, { "kind": "interface", @@ -43988,7 +43988,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L270-L288", + "specLocation": "_types/aggregations/Aggregate.ts#L277-L295", "variantName": "extended_stats" }, { @@ -44031,7 +44031,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L290-L291", + "specLocation": "_types/aggregations/Aggregate.ts#L297-L298", "variantName": "extended_stats_bucket" }, { @@ -44109,7 +44109,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L487-L488", + "specLocation": "_types/aggregations/Aggregate.ts#L494-L495", "variantName": "filter" }, { @@ -44134,7 +44134,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L560-L561", + "specLocation": "_types/aggregations/Aggregate.ts#L567-L568", "variantName": "filters" }, { @@ -44222,7 +44222,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L563-L563" + "specLocation": "_types/aggregations/Aggregate.ts#L570-L570" }, { "inherits": { @@ -44325,7 +44325,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L295-L298", + "specLocation": "_types/aggregations/Aggregate.ts#L302-L305", "variantName": "geo_bounds" }, { @@ -44391,7 +44391,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L300-L304", + "specLocation": "_types/aggregations/Aggregate.ts#L307-L311", "variantName": "geo_centroid" }, { @@ -44446,7 +44446,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L542-L546", + "specLocation": "_types/aggregations/Aggregate.ts#L549-L553", "variantName": "geo_distance" }, { @@ -44545,7 +44545,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L498-L500", + "specLocation": "_types/aggregations/Aggregate.ts#L505-L507", "variantName": "geohash_grid" }, { @@ -44647,7 +44647,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L502-L504" + "specLocation": "_types/aggregations/Aggregate.ts#L509-L511" }, { "inherits": { @@ -44671,7 +44671,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L514-L515", + "specLocation": "_types/aggregations/Aggregate.ts#L521-L522", "variantName": "geohex_grid" }, { @@ -44702,7 +44702,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L517-L519" + "specLocation": "_types/aggregations/Aggregate.ts#L524-L526" }, { "inherits": { @@ -44747,7 +44747,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L768-L775", + "specLocation": "_types/aggregations/Aggregate.ts#L775-L782", "variantName": "geo_line" }, { @@ -44879,7 +44879,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L506-L508", + "specLocation": "_types/aggregations/Aggregate.ts#L513-L515", "variantName": "geotile_grid" }, { @@ -44981,7 +44981,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L510-L512" + "specLocation": "_types/aggregations/Aggregate.ts#L517-L519" }, { "inherits": { @@ -45077,7 +45077,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L484-L485", + "specLocation": "_types/aggregations/Aggregate.ts#L491-L492", "variantName": "global" }, { @@ -45150,7 +45150,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L161-L162", + "specLocation": "_types/aggregations/Aggregate.ts#L168-L169", "variantName": "hdr_percentile_ranks" }, { @@ -45166,7 +45166,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L158-L159", + "specLocation": "_types/aggregations/Aggregate.ts#L165-L166", "variantName": "hdr_percentiles" }, { @@ -45191,7 +45191,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L332-L333", + "specLocation": "_types/aggregations/Aggregate.ts#L339-L340", "variantName": "histogram" }, { @@ -45388,7 +45388,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L335-L338" + "specLocation": "_types/aggregations/Aggregate.ts#L342-L345" }, { "kind": "interface", @@ -45673,7 +45673,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L643-L654", + "specLocation": "_types/aggregations/Aggregate.ts#L650-L661", "variantName": "inference" }, { @@ -45744,7 +45744,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L668-L671" + "specLocation": "_types/aggregations/Aggregate.ts#L675-L678" }, { "kind": "interface", @@ -45827,7 +45827,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L662-L666" + "specLocation": "_types/aggregations/Aggregate.ts#L669-L673" }, { "kind": "interface", @@ -45870,7 +45870,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L656-L660" + "specLocation": "_types/aggregations/Aggregate.ts#L663-L667" }, { "inherits": { @@ -45894,7 +45894,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L621-L622", + "specLocation": "_types/aggregations/Aggregate.ts#L628-L629", "variantName": "ip_prefix" }, { @@ -46049,7 +46049,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L624-L629" + "specLocation": "_types/aggregations/Aggregate.ts#L631-L636" }, { "inherits": { @@ -46073,7 +46073,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L548-L550", + "specLocation": "_types/aggregations/Aggregate.ts#L555-L557", "variantName": "ip_range" }, { @@ -46234,7 +46234,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L552-L556" + "specLocation": "_types/aggregations/Aggregate.ts#L559-L563" }, { "kind": "type_alias", @@ -46242,7 +46242,7 @@ "name": "KeyedPercentiles", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/Aggregate.ts#L150-L150", + "specLocation": "_types/aggregations/Aggregate.ts#L157-L157", "type": { "key": { "kind": "instance_of", @@ -46339,7 +46339,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L423-L428", + "specLocation": "_types/aggregations/Aggregate.ts#L430-L435", "variantName": "lrareterms" }, { @@ -46381,7 +46381,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L430-L433" + "specLocation": "_types/aggregations/Aggregate.ts#L437-L440" }, { "description": "Result of a `terms` aggregation when the field is some kind of whole number like a integer, long, or a date.", @@ -46406,7 +46406,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L391-L396", + "specLocation": "_types/aggregations/Aggregate.ts#L398-L403", "variantName": "lterms" }, { @@ -46448,7 +46448,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L398-L401" + "specLocation": "_types/aggregations/Aggregate.ts#L405-L408" }, { "inherits": { @@ -46538,7 +46538,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L741-L745", + "specLocation": "_types/aggregations/Aggregate.ts#L748-L752", "variantName": "matrix_stats" }, { @@ -46686,7 +46686,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L747-L756" + "specLocation": "_types/aggregations/Aggregate.ts#L754-L763" }, { "inherits": { @@ -46701,7 +46701,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L192-L193", + "specLocation": "_types/aggregations/Aggregate.ts#L199-L200", "variantName": "max" }, { @@ -46747,7 +46747,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L186-L187", + "specLocation": "_types/aggregations/Aggregate.ts#L193-L194", "variantName": "median_absolute_deviation" }, { @@ -46833,7 +46833,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L189-L190", + "specLocation": "_types/aggregations/Aggregate.ts#L196-L197", "variantName": "min" }, { @@ -46951,7 +46951,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L475-L476", + "specLocation": "_types/aggregations/Aggregate.ts#L482-L483", "variantName": "missing" }, { @@ -47250,7 +47250,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L319-L321" + "specLocation": "_types/aggregations/Aggregate.ts#L326-L328" }, { "attachedBehaviors": [ @@ -47299,7 +47299,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L323-L330" + "specLocation": "_types/aggregations/Aggregate.ts#L330-L337" }, { "kind": "interface", @@ -47344,7 +47344,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L453-L455", + "specLocation": "_types/aggregations/Aggregate.ts#L460-L462", "variantName": "multi_terms" }, { @@ -47507,7 +47507,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L457-L461" + "specLocation": "_types/aggregations/Aggregate.ts#L464-L468" }, { "kind": "interface", @@ -47557,7 +47557,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L478-L479", + "specLocation": "_types/aggregations/Aggregate.ts#L485-L486", "variantName": "nested" }, { @@ -47659,7 +47659,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L763-L764", + "specLocation": "_types/aggregations/Aggregate.ts#L770-L771", "variantName": "parent" }, { @@ -47783,7 +47783,7 @@ "name": "Percentiles", "namespace": "_types.aggregations" }, - "specLocation": "_types/aggregations/Aggregate.ts#L142-L143", + "specLocation": "_types/aggregations/Aggregate.ts#L149-L150", "type": { "items": [ { @@ -47832,7 +47832,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L138-L140" + "specLocation": "_types/aggregations/Aggregate.ts#L145-L147" }, { "inherits": { @@ -47910,7 +47910,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L170-L171", + "specLocation": "_types/aggregations/Aggregate.ts#L177-L178", "variantName": "percentiles_bucket" }, { @@ -48003,7 +48003,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L523-L524", + "specLocation": "_types/aggregations/Aggregate.ts#L530-L531", "variantName": "range" }, { @@ -48164,7 +48164,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L526-L533" + "specLocation": "_types/aggregations/Aggregate.ts#L533-L540" }, { "inherits": { @@ -48295,7 +48295,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L725-L729", + "specLocation": "_types/aggregations/Aggregate.ts#L732-L736", "variantName": "rate" }, { @@ -48368,7 +48368,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L481-L482", + "specLocation": "_types/aggregations/Aggregate.ts#L488-L489", "variantName": "reverse_nested" }, { @@ -48414,7 +48414,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L490-L491", + "specLocation": "_types/aggregations/Aggregate.ts#L497-L498", "variantName": "sampler" }, { @@ -48505,7 +48505,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L633-L636", + "specLocation": "_types/aggregations/Aggregate.ts#L640-L643", "variantName": "scripted_metric" }, { @@ -48635,7 +48635,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L580-L582", + "specLocation": "_types/aggregations/Aggregate.ts#L587-L589", "variantName": "siglterms" }, { @@ -48677,7 +48677,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L589-L592" + "specLocation": "_types/aggregations/Aggregate.ts#L596-L599" }, { "inherits": { @@ -48701,7 +48701,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L594-L596", + "specLocation": "_types/aggregations/Aggregate.ts#L601-L603", "variantName": "sigsterms" }, { @@ -48732,7 +48732,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L598-L600" + "specLocation": "_types/aggregations/Aggregate.ts#L605-L607" }, { "generics": [ @@ -48785,7 +48785,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L573-L578" + "specLocation": "_types/aggregations/Aggregate.ts#L580-L585" }, { "inherits": { @@ -49007,7 +49007,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L584-L587" + "specLocation": "_types/aggregations/Aggregate.ts#L591-L594" }, { "inherits": { @@ -49275,7 +49275,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L216-L217", + "specLocation": "_types/aggregations/Aggregate.ts#L223-L224", "variantName": "simple_value" }, { @@ -49331,7 +49331,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L465-L473" + "specLocation": "_types/aggregations/Aggregate.ts#L472-L480" }, { "inherits": { @@ -49382,7 +49382,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L175-L184" + "specLocation": "_types/aggregations/Aggregate.ts#L182-L191" }, { "kind": "interface", @@ -49530,7 +49530,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L252-L259" + "specLocation": "_types/aggregations/Aggregate.ts#L259-L266" }, { "kind": "interface", @@ -49606,7 +49606,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L261-L268" + "specLocation": "_types/aggregations/Aggregate.ts#L268-L275" }, { "description": "Statistics aggregation result. `min`, `max` and `avg` are missing if there were no values to process\n(`count` is zero).", @@ -49758,7 +49758,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L232-L247", + "specLocation": "_types/aggregations/Aggregate.ts#L239-L254", "variantName": "stats" }, { @@ -49789,7 +49789,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L249-L250", + "specLocation": "_types/aggregations/Aggregate.ts#L256-L257", "variantName": "stats_bucket" }, { @@ -49830,7 +49830,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L435-L439", + "specLocation": "_types/aggregations/Aggregate.ts#L442-L446", "variantName": "srareterms" }, { @@ -49861,7 +49861,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L441-L443" + "specLocation": "_types/aggregations/Aggregate.ts#L448-L450" }, { "inherits": { @@ -50047,7 +50047,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L677-L688", + "specLocation": "_types/aggregations/Aggregate.ts#L684-L695", "variantName": "string_stats" }, { @@ -50100,7 +50100,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L376-L381", + "specLocation": "_types/aggregations/Aggregate.ts#L383-L388", "variantName": "sterms" }, { @@ -50131,7 +50131,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L387-L389" + "specLocation": "_types/aggregations/Aggregate.ts#L394-L396" }, { "description": "Sum aggregation result. `value` is always present and is zero if there were no values to process.", @@ -50147,7 +50147,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L195-L199", + "specLocation": "_types/aggregations/Aggregate.ts#L202-L206", "variantName": "sum" }, { @@ -50214,7 +50214,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L167-L168", + "specLocation": "_types/aggregations/Aggregate.ts#L174-L175", "variantName": "tdigest_percentile_ranks" }, { @@ -50230,7 +50230,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L164-L165", + "specLocation": "_types/aggregations/Aggregate.ts#L171-L172", "variantName": "tdigest_percentiles" }, { @@ -50281,7 +50281,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L719-L723", + "specLocation": "_types/aggregations/Aggregate.ts#L726-L730", "variantName": "t_test" }, { @@ -50403,7 +50403,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L369-L374" + "specLocation": "_types/aggregations/Aggregate.ts#L376-L381" }, { "inherits": { @@ -50663,7 +50663,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L383-L385" + "specLocation": "_types/aggregations/Aggregate.ts#L390-L392" }, { "codegenNames": [ @@ -50846,7 +50846,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L638-L641", + "specLocation": "_types/aggregations/Aggregate.ts#L645-L648", "variantName": "top_hits" }, { @@ -51076,7 +51076,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L713-L717" + "specLocation": "_types/aggregations/Aggregate.ts#L720-L724" }, { "inherits": { @@ -51106,7 +51106,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L708-L711", + "specLocation": "_types/aggregations/Aggregate.ts#L715-L718", "variantName": "top_metrics" }, { @@ -51217,7 +51217,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L445-L451", + "specLocation": "_types/aggregations/Aggregate.ts#L452-L458", "variantName": "umrareterms" }, { @@ -51236,7 +51236,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L493-L494", + "specLocation": "_types/aggregations/Aggregate.ts#L500-L501", "variantName": "unmapped_sampler" }, { @@ -51262,7 +51262,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L602-L608", + "specLocation": "_types/aggregations/Aggregate.ts#L609-L615", "variantName": "umsigterms" }, { @@ -51288,7 +51288,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L415-L421", + "specLocation": "_types/aggregations/Aggregate.ts#L422-L428", "variantName": "umterms" }, { @@ -51305,7 +51305,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L210-L214", + "specLocation": "_types/aggregations/Aggregate.ts#L217-L221", "variantName": "value_count" }, { @@ -51385,7 +51385,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L354-L356", + "specLocation": "_types/aggregations/Aggregate.ts#L361-L363", "variantName": "variable_width_histogram" }, { @@ -51525,7 +51525,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L358-L365" + "specLocation": "_types/aggregations/Aggregate.ts#L365-L372" }, { "inherits": { @@ -51644,7 +51644,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L204-L208", + "specLocation": "_types/aggregations/Aggregate.ts#L211-L215", "variantName": "weighted_avg" }, {