Skip to content

Commit 03b6c96

Browse files
Change InnerHits.fields from Fields to Field[] (#4312) (#4317)
(cherry picked from commit 54dba79) Co-authored-by: Florian Bernd <[email protected]>
1 parent e71ebf9 commit 03b6c96

File tree

1 file changed

+1
-1
lines changed
  • specification/_global/search/_types

1 file changed

+1
-1
lines changed

specification/_global/search/_types/hits.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class InnerHits {
128128
ignore_unmapped?: boolean
129129
script_fields?: Dictionary<Field, ScriptField>
130130
seq_no_primary_term?: boolean
131-
fields?: Fields
131+
fields?: Field[]
132132
/**
133133
* How the inner hits should be sorted per `inner_hits`.
134134
* By default, inner hits are sorted by score.

0 commit comments

Comments
 (0)