Hi ,
You can place your script under script directory
http://www.elastic.co/guide/en/elasticsearch/reference/1.x/modules-scripting.html
and use this script without enabling scripting.
You can find more information on this here
http://www.elastic.co/guide/en/elasticsearch/reference/1.x/modules-scripting.html
.
Or you can write a java code which does this and package it as a plugin.
You can find some examples here
https://github.com/imotov/elasticsearch-native-script-example.
In both these case , you need to make sure this code/plugin is pushed to
all the nodes.
Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io/)
On Wed, Apr 15, 2015 at 3:02 PM, Zaid Amir redserpent7@gmail.com wrote:
Hi,
I would like to know if there is a way to add or remove from an array
field without using a script? All the examples I came across use scripts to
do this, yet I do not want to enable scripts on my cluster (dynamic or
indexed).
How can I achieve this?
Thanks
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0afcb38c-43c2-44b3-a967-e4a233a3f65e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/0afcb38c-43c2-44b3-a967-e4a233a3f65e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5ky5X_EhobpmeE_9aJRNRVhzqFpndCVwSV4a874TUdMgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.