diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 999def4f88..ad3e908ba2 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -55686,6 +55686,7 @@ "date", "double", "geo_point", + "geo_shape", "ip", "keyword", "long", @@ -67457,6 +67458,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 f127ddc860..5d122b5bf5 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -34740,6 +34740,7 @@ "date", "double", "geo_point", + "geo_shape", "ip", "keyword", "long", @@ -44048,6 +44049,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 41abf58c36..d5e8e370b4 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -70717,6 +70717,9 @@ { "name": "geo_point" }, + { + "name": "geo_shape" + }, { "name": "ip" }, @@ -70734,7 +70737,7 @@ "name": "RuntimeFieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/RuntimeFields.ts#L62-L72" + "specLocation": "_types/mapping/RuntimeFields.ts#L62-L73" }, { "kind": "interface", @@ -90350,7 +90353,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L56-L59" + "specLocation": "_types/mapping/geo.ts#L57-L60" }, { "kind": "enum", @@ -93844,6 +93847,17 @@ } } }, + { + "name": "index", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "orientation", "required": false, @@ -93875,7 +93889,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L54" + "specLocation": "_types/mapping/geo.ts#L41-L55" }, { "inherits": { @@ -93932,7 +93946,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.", @@ -94003,7 +94017,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 b006511077..a6615ebed1 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -78105,6 +78105,17 @@ } } }, + { + "name": "index", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "orientation", "required": false, @@ -78136,7 +78147,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L54" + "specLocation": "_types/mapping/geo.ts#L41-L55" }, { "kind": "enum", @@ -78152,7 +78163,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L56-L59" + "specLocation": "_types/mapping/geo.ts#L57-L60" }, { "kind": "interface", @@ -79469,7 +79480,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L66-L71" + "specLocation": "_types/mapping/geo.ts#L67-L72" }, { "kind": "type_alias", @@ -80272,6 +80283,9 @@ { "name": "geo_point" }, + { + "name": "geo_shape" + }, { "name": "ip" }, @@ -80289,7 +80303,7 @@ "name": "RuntimeFieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/RuntimeFields.ts#L62-L72" + "specLocation": "_types/mapping/RuntimeFields.ts#L62-L73" }, { "kind": "type_alias", @@ -80632,7 +80646,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 28d0e0477f..77df2a5a68 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -5578,6 +5578,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase { coerce?: boolean ignore_malformed?: boolean ignore_z_value?: boolean + index?: boolean orientation?: MappingGeoOrientation strategy?: MappingGeoStrategy type: 'geo_shape' @@ -5780,7 +5781,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'