We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97cd92a commit 6647c43Copy full SHA for 6647c43
src/types/SearchHitItem.js
@@ -31,18 +31,19 @@ export function getSearchHitItemTC(opts: SearchOptsT = {}): TypeComposer {
31
description: desc(`Use explain API on query`),
32
},
33
34
- // if arg.version = true
35
_version: 'Int',
36
37
- // if args.highlight is provided
38
- highlight: 'JSON',
+ highlight: {
+ type: 'JSON',
+ description: 'Returns data only if `args.highlight` is provided',
39
+ },
40
41
// return sort values for search_after
42
sort: 'JSON',
43
44
fields: {
45
type: 'JSON',
- description: 'Returns result from `script_fields`',
46
+ description: 'Returns result from `args.opts.body.script_fields`',
47
48
49
})
0 commit comments