Is there any documentation on using ctx in scripts?


I'm looking for documentation on using the ctx object in transform
scripts. I've used ctx_source before but now I need to do more complex
transformations and add a script to the MongoDB river. On this page I see

...and on this page about adding scripts to the MongoDB river are
"ctx.ignore" and "ctx.deleted" (under "script filters" at the bottom of the

Where can I find documentation about the properties of the ctx object? I
looked through the Java API to see if I could find something in the source
code that might be helpful but was unable to find anything.

Thank you,


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
To view this discussion on the web visit
For more options, visit