1

Currently, I am using a Groovy script to delete a nested object:

ctx._source.remove(\"nested\")  

However, the deployment system only allows Lucene expressions. What would be the equivalent of this Groovy script?

3
  • Please see if this helps. Commented Jun 23, 2016 at 15:05
  • @Rao dynamic scripting is enabled but for lucene expressions only. Commented Jun 23, 2016 at 15:09
  • wouldn't source filtering work ? Commented Jun 23, 2016 at 20:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.