I've created a class com.thomas.ObjectSearchScript that extends
AbstractFloatSearchScript. The documentation on native scripting
isn't too clear to me. I assume creating a jar containing just my
class and placing it into the lib directory will load the class. How
do I actually register it through settings or in a plugin using
ScriptModule?
I'd like to eventually be able to use my class by issuing the
following query:
I've created a class com.thomas.ObjectSearchScript that extends
AbstractFloatSearchScript. The documentation on native scripting
isn't too clear to me. I assume creating a jar containing just my
class and placing it into the lib directory will load the class. How
do I actually register it through settings or in a plugin using
ScriptModule?
I'd like to eventually be able to use my class by issuing the
following query:
Sorry wrong answer :
Did you put your script in settings ?
Registering them can either be done by settings, for example: script.native.my.type set tosample.MyNativeScriptFactory will register a script named my.
Did you try to give in the query the full classname ? With the package ?
I've created a class com.thomas.ObjectSearchScript that extends
AbstractFloatSearchScript. The documentation on native scripting
isn't too clear to me. I assume creating a jar containing just my
class and placing it into the lib directory will load the class. How
do I actually register it through settings or in a plugin using
ScriptModule?
I'd like to eventually be able to use my class by issuing the
following query:
I've created a class com.thomas.ObjectSearchScript that extends
AbstractFloatSearchScript. The documentation on native scripting
isn't too clear to me. I assume creating a jar containing just my
class and placing it into the lib directory will load the class. How
do I actually register it through settings or in a plugin using
ScriptModule?
I'd like to eventually be able to use my class by issuing the
following query:
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.