Mvel script requiring elasticsearch restart


I have some elastic search queries that use mvel scripts. If I can put the
mvel scripts in the config directory and restart elastic search, scripts
are recognized and everything works.

However, requiring restart of elastic search is not a good option in our
production environment.

How can I specify the full path name of the script (mvel) as part of the
query and bypass this issue. I realize that the query will be slower, but
this will be great as long as it can work.

I would like to be able to specify (full path name as part of the query).

"script": "/tmp/es_weight"

Any help or pointers are appreciated.



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
For more options, visit