From a9bf14737fe1a4cc747e56fff9730b3ecd6244f3 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Mon, 28 Apr 2025 19:56:03 +0200 Subject: [PATCH] Change `InnerHits.fields` from `Fields` to `Field[]` (#4312) (cherry picked from commit 54dba79d57754c975a931a15499e8bf530959464) --- 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.