Scripting updates


(Piro Vorster) #1

I am new to elastic searcj

I see that elasticsearch has switched to a new scripting language yet the
update api is still referencing
MVEL(http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html#docs-update).
Is this still the correct updating mechanism to use?
Also when using the MVEL code I get "dynamic scripting for [mvel] disabled"
however I do not see the "script.disable_dynamic: false" setting in my yml
config file?

--
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/2f577432-f657-4169-a309-3fdea58e9425%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Piro Vorster) #2

Even after adding "script.disable_dynamic: true" to the config and
restarting my node I get the same error.

On Monday, August 11, 2014 11:30:12 AM UTC+2, Piro Vorster wrote:

I am new to elastic searcj

I see that elasticsearch has switched to a new scripting language yet the
update api is still referencing MVEL(
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html#docs-update).
Is this still the correct updating mechanism to use?
Also when using the MVEL code I get "dynamic scripting for [mvel]
disabled" however I do not see the "script.disable_dynamic: false"
setting in my yml config file?

--
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/75668fe5-6c08-4c6d-aea4-497efde8c444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Piro Vorster) #3

After adding script.disable_dynamic: false to my settings it now works. I
would still however want to know if I should be using mvel for updating or
if there is some other updating mechanism.

On Monday, August 11, 2014 11:30:12 AM UTC+2, Piro Vorster wrote:

I am new to elastic searcj

I see that elasticsearch has switched to a new scripting language yet the
update api is still referencing MVEL(
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html#docs-update).
Is this still the correct updating mechanism to use?
Also when using the MVEL code I get "dynamic scripting for [mvel]
disabled" however I do not see the "script.disable_dynamic: false"
setting in my yml config file?

--
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/4698b6ce-5c94-4512-9967-2acca1c6e6dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4