We'd like to enable custom scoring using a script that we'll install under
config/scripts, so that we can invoke it as part of a function_score query,
like
But that also allows arbitrary script code to be submitted as the body of
the script field, which we want to disallow.
Is it possible to configure scripting to work only with named scripts that
are installed? It seems like the one config option I found is to coarse
for this.
We'd like to enable custom scoring using a script that we'll install under
config/scripts, so that we can invoke it as part of a function_score query,
like
But that also allows arbitrary script code to be submitted as the body of
the script field, which we want to disallow.
Is it possible to configure scripting to work only with named scripts that
are installed? It seems like the one config option I found is to coarse
for this.
On Fri, Jun 27, 2014 at 8:44 PM, greg j <gr...@allenai.org <javascript:>>
wrote:
Hi,
We'd like to enable custom scoring using a script that we'll install
under config/scripts, so that we can invoke it as part of a function_score
query, like
But that also allows arbitrary script code to be submitted as the body of
the script field, which we want to disallow.
Is it possible to configure scripting to work only with named scripts
that are installed? It seems like the one config option I found is to
coarse for this.
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.