diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 409546a24d..0fc5510dda 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -52291,6 +52291,7 @@ "date", "double", "geo_point", + "geo_shape", "ip", "keyword", "long", @@ -64043,6 +64044,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 c8a277da87..3592d021ab 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -33092,6 +33092,7 @@ "date", "double", "geo_point", + "geo_shape", "ip", "keyword", "long", @@ -42398,6 +42399,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 64230bd759..c2b8cb617a 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -67559,6 +67559,9 @@ { "name": "geo_point" }, + { + "name": "geo_shape" + }, { "name": "ip" }, @@ -67576,7 +67579,7 @@ "name": "RuntimeFieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/RuntimeFields.ts#L62-L72" + "specLocation": "_types/mapping/RuntimeFields.ts#L62-L73" }, { "kind": "interface", @@ -87333,7 +87336,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L56-L59" + "specLocation": "_types/mapping/geo.ts#L57-L60" }, { "kind": "enum", @@ -90660,6 +90663,17 @@ } } }, + { + "name": "index", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "orientation", "required": false, @@ -90691,7 +90705,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L54" + "specLocation": "_types/mapping/geo.ts#L41-L55" }, { "inherits": { @@ -90748,7 +90762,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.", @@ -90819,7 +90833,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 981f272c50..dc3e61ecce 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -76730,6 +76730,17 @@ } } }, + { + "name": "index", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "orientation", "required": false, @@ -76761,7 +76772,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L54" + "specLocation": "_types/mapping/geo.ts#L41-L55" }, { "kind": "enum", @@ -76777,7 +76788,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L56-L59" + "specLocation": "_types/mapping/geo.ts#L57-L60" }, { "kind": "interface", @@ -78037,7 +78048,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L66-L71" + "specLocation": "_types/mapping/geo.ts#L67-L72" }, { "kind": "type_alias", @@ -78826,6 +78837,9 @@ { "name": "geo_point" }, + { + "name": "geo_shape" + }, { "name": "ip" }, @@ -78843,7 +78857,7 @@ "name": "RuntimeFieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/RuntimeFields.ts#L62-L72" + "specLocation": "_types/mapping/RuntimeFields.ts#L62-L73" }, { "kind": "type_alias", @@ -79186,7 +79200,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 f17b377e94..1fa4e1a45e 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -5561,6 +5561,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase { coerce?: boolean ignore_malformed?: boolean ignore_z_value?: boolean + index?: boolean orientation?: MappingGeoOrientation strategy?: MappingGeoStrategy type: 'geo_shape' @@ -5756,7 +5757,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'