File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,13 @@ public MappingTransformDescriptor Script(string script)
1414 {
1515 this . _mappingTransform . Script = script ;
1616 return this ;
17- }
17+ }
18+
19+ public MappingTransformDescriptor ScriptFile ( string scriptFile )
20+ {
21+ this . _mappingTransform . ScriptFile = scriptFile ;
22+ return this ;
23+ }
1824
1925 public MappingTransformDescriptor Params ( IDictionary < string , string > parameters )
2026 {
Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ namespace Nest
1111 public class MappingTransform
1212 {
1313 [ JsonProperty ( "script" ) ]
14- public string Script { get ; set ; }
14+ public string Script { get ; set ; }
15+
16+ [ JsonProperty ( "script_file" ) ]
17+ public string ScriptFile { get ; set ; }
1518
1619 [ JsonProperty ( "params" ) ]
1720 public IDictionary < string , string > Parameters { get ; set ; }
You can’t perform that action at this time.
0 commit comments