Skip to content

Commit 54dba79

Browse files
authored
Change InnerHits.fields from Fields to Field[] (#4312)
1 parent f688c72 commit 54dba79

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
@@ -127,7 +127,7 @@ export class InnerHits {
127127
ignore_unmapped?: boolean
128128
script_fields?: Dictionary<Field, ScriptField>
129129
seq_no_primary_term?: boolean
130-
fields?: Fields
130+
fields?: Field[]
131131
/**
132132
* How the inner hits should be sorted per `inner_hits`.
133133
* By default, inner hits are sorted by score.

0 commit comments

Comments
 (0)