File tree 1 file changed +6
-4
lines changed
src/main/java/org/elasticsearch/script/python
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 25
25
import org .elasticsearch .common .component .AbstractComponent ;
26
26
import org .elasticsearch .common .inject .Inject ;
27
27
import org .elasticsearch .common .settings .Settings ;
28
- import org .elasticsearch .script .ExecutableScript ;
29
- import org .elasticsearch .script .ScoreAccessor ;
30
- import org .elasticsearch .script .ScriptEngineService ;
31
- import org .elasticsearch .script .SearchScript ;
28
+ import org .elasticsearch .script .*;
32
29
import org .elasticsearch .search .lookup .SearchLookup ;
33
30
import org .python .core .Py ;
34
31
import org .python .core .PyCode ;
@@ -104,6 +101,11 @@ public void close() {
104
101
interp .cleanup ();
105
102
}
106
103
104
+ @ Override
105
+ public void scriptRemoved (@ Nullable CompiledScript compiledScript ) {
106
+ // Nothing to do
107
+ }
108
+
107
109
public class PythonExecutableScript implements ExecutableScript {
108
110
109
111
private final PyCode code ;
You can’t perform that action at this time.
0 commit comments