The function score documentation doesn't mention any support for native
scripts, does it still work for the Function Score Query, if so is it the
same syntax?
I'm using the custom_filters_score query with a native script but the query
is deprecated in the latest ES version. I'm still using 0.90.3 but I plan
to upgrade to the latest version.
It says that the script_score function for function_score is cached. Does
this provide the same performance as the Native script? I'm wondering if
it's necessary to still use a native script or convert it to the
script_score function
Yes, function score query works with native scripts. We use it with them.
I'm not sure whether native scripts are automatically cached.
On Saturday, April 12, 2014 1:49:32 PM UTC-4, Eric T wrote:
Hi,
The function score documentation doesn't mention any support for native
scripts, does it still work for the Function Score Query, if so is it the
same syntax?
I'm using the custom_filters_score query with a native script but the
query is deprecated in the latest ES version. I'm still using 0.90.3 but I
plan to upgrade to the latest version.
It says that the script_score function for function_score is cached. Does
this provide the same performance as the Native script? I'm wondering if
it's necessary to still use a native script or convert it to the
script_score function
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.