From 244e692902857d7c1e9b9a2506a1cedd9d8d3543 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 2ab7993d8f..8c5a517a94 100644 --- a/specification/_global/search/_types/hits.ts +++ b/specification/_global/search/_types/hits.ts @@ -128,7 +128,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.