Hi. I am running 1.4.4 and have the following script_score block that
executes a saved groovy script.
"script_score": {
"params": {
"b_1": 1,
"b_2": 5
},
"script": "calculate-score.groovy",
"lang":"groovy"
}
When executed it returns the following exception.
GroovyScriptExecutionException[MissingPropertyException[No such property:
calculate for class: Script3]];
When the service is started it states the file calculate-score.groovy has
been compiled.
[2015-04-27 10:46:21,927][INFO ][script ] [XXXXXX]
compiling script file [/etc/elasticsearch/scripts/calculate-score.groovy]
Any ideas?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/71cfcacb-b632-4873-8d8e-e685d6edff85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.