Can you post the security exception? Jörg
On Wed, Dec 10, 2014 at 11:02 AM, Dunaeth <lomig.po...@gmail.com> wrote: > Hi, > > With ES 1.4, the default scripting language switched from mvel to groovy. > We were using script fields in our queries like > «String.format('%02d',doc.date.date.monthOfYear)», is there a way to > achieve the same result using groovy ? ATM, we're experiencing security > exceptions, method calls not allowed. > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/d9afcc9a-f4a5-411f-9fd2-0c51f44a5f2a%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/d9afcc9a-f4a5-411f-9fd2-0c51f44a5f2a%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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEGB4UoNOT8OKo2wC_ezgdgq9_-QMDL7Z5h3mWgq_BNgw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.