epics-rip / ChannelFinderService

A simple directory service
http://channelfinder.github.io/
3 stars 6 forks source link

Not able to run scripts in ElasticSearch #10

Closed mskinner5278 closed 8 years ago

mskinner5278 commented 8 years ago

must update elasticsearch.yml

shroffk commented 8 years ago

The new ChannelFinder service uses scripting for the more complicated requests and therefore requires scripting support to be enabled in elasticsearch.

The following should be added to the elasticsearch.yml used

################################# Scripting ###############################

script.inline: on
script.indexed: on

more information can be found here: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html#enable-dynamic-scripting

you can locate the elasticsearch.yml using the following documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-dir-layout.html