But is there a similar way to pass parameters into a Java-native
AbstractExecutableScript/AbstractSearchScript? For example:
public class CustomScript extends AbstractExecutableScript {
public CustomScript(@Nullable Map<String,Object> params){
}
@Override
public java.lang.Object run() {
String param1 = // some code to grab a script/query parameter
}
But is there a similar way to pass parameters into a Java-native
AbstractExecutableScript/AbstractSearchScript? For example:
public class CustomScript extends AbstractExecutableScript {
public CustomScript(@Nullable Map<String,Object> params){
}
@Override
public java.lang.Object run() {
String param1 = // some code to grab a script/query parameter
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.