diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index b0fcd330eb..cab7a6d465 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -55632,6 +55632,7 @@ "date", "double", "geo_point", + "geo_shape", "ip", "keyword", "long", @@ -67415,6 +67416,9 @@ "ignore_z_value": { "type": "boolean" }, + "index": { + "type": "boolean" + }, "orientation": { "$ref": "#/components/schemas/_types.mapping:GeoOrientation" }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 5ad889b983..698220eb65 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -34753,6 +34753,7 @@ "date", "double", "geo_point", + "geo_shape", "ip", "keyword", "long", @@ -44073,6 +44074,9 @@ "ignore_z_value": { "type": "boolean" }, + "index": { + "type": "boolean" + }, "orientation": { "$ref": "#/components/schemas/_types.mapping:GeoOrientation" }, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index c30f355fda..208c37de1f 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -70800,6 +70800,9 @@ { "name": "geo_point" }, + { + "name": "geo_shape" + }, { "name": "ip" }, @@ -70817,7 +70820,7 @@ "name": "RuntimeFieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/RuntimeFields.ts#L62-L72" + "specLocation": "_types/mapping/RuntimeFields.ts#L62-L73" }, { "kind": "interface", @@ -90492,7 +90495,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L56-L59" + "specLocation": "_types/mapping/geo.ts#L57-L60" }, { "kind": "enum", @@ -93986,6 +93989,17 @@ } } }, + { + "name": "index", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "orientation", "required": false, @@ -94017,7 +94031,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L54" + "specLocation": "_types/mapping/geo.ts#L41-L55" }, { "inherits": { @@ -94074,7 +94088,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L66-L71" + "specLocation": "_types/mapping/geo.ts#L67-L72" }, { "description": "The `shape` data type facilitates the indexing of and searching with arbitrary `x, y` cartesian shapes such as\nrectangles and polygons.", @@ -94145,7 +94159,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L73-L85" + "specLocation": "_types/mapping/geo.ts#L74-L86" }, { "inherits": { diff --git a/output/schema/schema.json b/output/schema/schema.json index b214304e1e..f338750d0f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -78177,6 +78177,17 @@ } } }, + { + "name": "index", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "orientation", "required": false, @@ -78208,7 +78219,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L54" + "specLocation": "_types/mapping/geo.ts#L41-L55" }, { "kind": "enum", @@ -78224,7 +78235,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L56-L59" + "specLocation": "_types/mapping/geo.ts#L57-L60" }, { "kind": "interface", @@ -79541,7 +79552,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L66-L71" + "specLocation": "_types/mapping/geo.ts#L67-L72" }, { "kind": "type_alias", @@ -80344,6 +80355,9 @@ { "name": "geo_point" }, + { + "name": "geo_shape" + }, { "name": "ip" }, @@ -80361,7 +80375,7 @@ "name": "RuntimeFieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/RuntimeFields.ts#L62-L72" + "specLocation": "_types/mapping/RuntimeFields.ts#L62-L73" }, { "kind": "type_alias", @@ -80704,7 +80718,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L73-L85" + "specLocation": "_types/mapping/geo.ts#L74-L86" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 2d52478b45..eddc30386b 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -5588,6 +5588,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase { coerce?: boolean ignore_malformed?: boolean ignore_z_value?: boolean + index?: boolean orientation?: MappingGeoOrientation strategy?: MappingGeoStrategy type: 'geo_shape' @@ -5790,7 +5791,7 @@ export interface MappingRuntimeFieldFetchFields { format?: string } -export type MappingRuntimeFieldType = 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup' +export type MappingRuntimeFieldType = 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'geo_shape' | 'ip' | 'keyword' | 'long' | 'lookup' export type MappingRuntimeFields = Record diff --git a/specification/_types/mapping/RuntimeFields.ts b/specification/_types/mapping/RuntimeFields.ts index 62160a46f7..c6bb968662 100644 --- a/specification/_types/mapping/RuntimeFields.ts +++ b/specification/_types/mapping/RuntimeFields.ts @@ -65,6 +65,7 @@ export enum RuntimeFieldType { date, double, geo_point, + geo_shape, ip, keyword, long, diff --git a/specification/_types/mapping/geo.ts b/specification/_types/mapping/geo.ts index d5498c4a7f..86f14f4aa0 100644 --- a/specification/_types/mapping/geo.ts +++ b/specification/_types/mapping/geo.ts @@ -48,6 +48,7 @@ export class GeoShapeProperty extends DocValuesPropertyBase { coerce?: boolean ignore_malformed?: boolean ignore_z_value?: boolean + index?: boolean orientation?: GeoOrientation strategy?: GeoStrategy type: 'geo_shape'