diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 6302c42f29..c1aa0c3f16 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -41068,7 +41068,7 @@ "additionalProperties": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types:FieldValue" } } }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 1c517e01c0..f0d2bca444 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -24229,7 +24229,7 @@ "additionalProperties": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types:FieldValue" } } }, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 43a3fc1921..2597befabc 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -51326,7 +51326,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L107-L141" + "specLocation": "_global/search/_types/hits.ts#L108-L142" }, { "kind": "type_alias", @@ -65917,7 +65917,7 @@ "name": "TrackHits", "namespace": "_global.search._types" }, - "specLocation": "_global/search/_types/hits.ts#L143-L151", + "specLocation": "_global/search/_types/hits.ts#L144-L152", "type": { "items": [ { @@ -68085,7 +68085,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L67-L73" + "specLocation": "_global/search/_types/hits.ts#L68-L74" }, { "kind": "interface", @@ -68117,7 +68117,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L95-L98" + "specLocation": "_global/search/_types/hits.ts#L96-L99" }, { "kind": "enum", @@ -68135,7 +68135,7 @@ "name": "TotalHitsRelation", "namespace": "_global.search._types" }, - "specLocation": "_global/search/_types/hits.ts#L100-L105" + "specLocation": "_global/search/_types/hits.ts#L101-L106" }, { "generics": [ @@ -68352,8 +68352,8 @@ "value": { "kind": "instance_of", "type": { - "name": "string", - "namespace": "_builtins" + "name": "FieldValue", + "namespace": "_types" } } } @@ -68459,7 +68459,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L40-L65" + "specLocation": "_global/search/_types/hits.ts#L41-L66" }, { "kind": "interface", @@ -68577,7 +68577,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L85-L87" + "specLocation": "_global/search/_types/hits.ts#L86-L88" }, { "kind": "interface", @@ -68620,7 +68620,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L89-L93" + "specLocation": "_global/search/_types/hits.ts#L90-L94" }, { "description": "The aggregation name as returned from the server. Depending whether typed_keys is specified this could come back\nin the form of `name#type` instead of simply `name`", diff --git a/output/schema/schema.json b/output/schema/schema.json index fdf6b997ef..cd5a2eef8e 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -35760,8 +35760,8 @@ "value": { "kind": "instance_of", "type": { - "name": "string", - "namespace": "_builtins" + "name": "FieldValue", + "namespace": "_types" } } } @@ -35867,7 +35867,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L40-L65" + "specLocation": "_global/search/_types/hits.ts#L41-L66" }, { "kind": "interface", @@ -35953,7 +35953,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L67-L73" + "specLocation": "_global/search/_types/hits.ts#L68-L74" }, { "kind": "interface", @@ -36160,7 +36160,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L107-L141" + "specLocation": "_global/search/_types/hits.ts#L108-L142" }, { "kind": "interface", @@ -36186,7 +36186,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L85-L87" + "specLocation": "_global/search/_types/hits.ts#L86-L88" }, { "kind": "interface", @@ -36748,7 +36748,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L89-L93" + "specLocation": "_global/search/_types/hits.ts#L90-L94" }, { "kind": "interface", @@ -38658,7 +38658,7 @@ } } ], - "specLocation": "_global/search/_types/hits.ts#L95-L98" + "specLocation": "_global/search/_types/hits.ts#L96-L99" }, { "kind": "enum", @@ -38676,7 +38676,7 @@ "name": "TotalHitsRelation", "namespace": "_global.search._types" }, - "specLocation": "_global/search/_types/hits.ts#L100-L105" + "specLocation": "_global/search/_types/hits.ts#L101-L106" }, { "kind": "type_alias", @@ -38689,7 +38689,7 @@ "name": "TrackHits", "namespace": "_global.search._types" }, - "specLocation": "_global/search/_types/hits.ts#L143-L151", + "specLocation": "_global/search/_types/hits.ts#L144-L152", "type": { "kind": "union_of", "items": [ diff --git a/output/typescript/types.ts b/output/typescript/types.ts index b4030abda8..56261831f5 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -1524,7 +1524,7 @@ export interface SearchHit { matched_queries?: string[] | Record _nested?: SearchNestedIdentity _ignored?: string[] - ignored_field_values?: Record + ignored_field_values?: Record _shard?: string _node?: string _routing?: string diff --git a/specification/_global/search/_types/hits.ts b/specification/_global/search/_types/hits.ts index 6a2ac339ec..2ab7993d8f 100644 --- a/specification/_global/search/_types/hits.ts +++ b/specification/_global/search/_types/hits.ts @@ -23,6 +23,7 @@ import { UserDefinedValue } from '@spec_utils/UserDefinedValue' import { Field, Fields, + FieldValue, Id, IndexName, Name, @@ -52,7 +53,7 @@ export class Hit { matched_queries?: string[] | Dictionary _nested?: NestedIdentity _ignored?: string[] - ignored_field_values?: Dictionary + ignored_field_values?: Dictionary _shard?: string _node?: string _routing?: string