diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 4489db9560..9f41de3104 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -55627,6 +55627,7 @@ "date", "double", "geo_point", + "geo_shape", "ip", "keyword", "long", @@ -67410,6 +67411,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 76c7f5b9f3..07661cd079 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -34754,6 +34754,7 @@ "date", "double", "geo_point", + "geo_shape", "ip", "keyword", "long", @@ -44074,6 +44075,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 101c2f52f6..60d61cdd03 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -70808,6 +70808,9 @@ { "name": "geo_point" }, + { + "name": "geo_shape" + }, { "name": "ip" }, @@ -70825,7 +70828,7 @@ "name": "RuntimeFieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/RuntimeFields.ts#L62-L72" + "specLocation": "_types/mapping/RuntimeFields.ts#L62-L73" }, { "kind": "interface", @@ -90500,7 +90503,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L56-L59" + "specLocation": "_types/mapping/geo.ts#L57-L60" }, { "kind": "enum", @@ -93994,6 +93997,17 @@ } } }, + { + "name": "index", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "orientation", "required": false, @@ -94025,7 +94039,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L54" + "specLocation": "_types/mapping/geo.ts#L41-L55" }, { "inherits": { @@ -94082,7 +94096,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.", @@ -94153,7 +94167,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 a99eee1d71..025bebd570 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -78181,6 +78181,17 @@ } } }, + { + "name": "index", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "orientation", "required": false, @@ -78212,7 +78223,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L54" + "specLocation": "_types/mapping/geo.ts#L41-L55" }, { "kind": "enum", @@ -78228,7 +78239,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L56-L59" + "specLocation": "_types/mapping/geo.ts#L57-L60" }, { "kind": "interface", @@ -79545,7 +79556,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L66-L71" + "specLocation": "_types/mapping/geo.ts#L67-L72" }, { "kind": "type_alias", @@ -80348,6 +80359,9 @@ { "name": "geo_point" }, + { + "name": "geo_shape" + }, { "name": "ip" }, @@ -80365,7 +80379,7 @@ "name": "RuntimeFieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/RuntimeFields.ts#L62-L72" + "specLocation": "_types/mapping/RuntimeFields.ts#L62-L73" }, { "kind": "type_alias", @@ -80708,7 +80722,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 c44845b556..2a45e62d4f 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'