Skip to content

Commit d7e5a83

Browse files
Change InnerHits.fields from Fields to Field[] (#4312) (#4319)
(cherry picked from commit 54dba79) Co-authored-by: Florian Bernd <git@flobernd.de>
1 parent e376b3c commit d7e5a83

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)