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 7dec8b0 commit 7f0396cCopy full SHA for 7f0396c
specification/_global/search/_types/rescoring.ts
@@ -19,6 +19,7 @@
19
20
import { double, integer } from '@_types/Numeric'
21
import { QueryContainer } from '@_types/query_dsl/abstractions'
22
+import { Script } from '@_types/Scripting'
23
import { Dictionary } from '@spec_utils/Dictionary'
24
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
25
@@ -35,6 +36,8 @@ export class Rescore {
35
36
query?: RescoreQuery
37
38
learning_to_rank?: LearningToRank
39
+
40
+ script?: ScriptRescore
41
}
42
43
export class RescoreQuery {
@@ -95,3 +98,7 @@ export class LearningToRank {
95
98
*/
96
99
params?: Dictionary<string, UserDefinedValue>
97
100
101
102
+export class ScriptRescore {
103
+ script: Script
104
+}
0 commit comments