Re: enabling scripting for installed scripts only

2014-06-30 Thread greg j
You're right. Was sure I tried that, but obviously had done something wrong along the way. Thanks! On Monday, June 30, 2014 1:11:59 AM UTC-7, Alexander Reelsen wrote: > > Hey, > > I just tested with 1.2.1, and even if dynamic scripting is disabled, you > can still execute locally stored script

Re: enabling scripting for installed scripts only

2014-06-30 Thread Alexander Reelsen
Hey, I just tested with 1.2.1, and even if dynamic scripting is disabled, you can still execute locally stored scripts. See the example in http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#modules-scripting --Alex On Fri, Jun 27, 2014 at 8:44 PM, greg

enabling scripting for installed scripts only

2014-06-27 Thread greg j
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 "query": { "function_score": { "query" : { ... }, "functions": [ { "script_score": { "script": "my-script" //