From 2c5807398e118606e592f02939f2ad800f32ddf0 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Mon, 28 Apr 2025 14:14:59 +0200 Subject: [PATCH] Change `InnerHits.fields` from `Fields` to `Field[]` --- specification/_global/search/_types/hits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/_global/search/_types/hits.ts b/specification/_global/search/_types/hits.ts index 02cc0678cb..f87b39e205 100644 --- a/specification/_global/search/_types/hits.ts +++ b/specification/_global/search/_types/hits.ts @@ -127,7 +127,7 @@ export class InnerHits { ignore_unmapped?: boolean script_fields?: Dictionary seq_no_primary_term?: boolean - fields?: Fields + fields?: Field[] /** * How the inner hits should be sorted per `inner_hits`. * By default, inner hits are sorted by score.