According to Update settings (when writing to Elasticsearch), I can provide a list of fields to be passed into my update script params
with es.update.script.params
. Is there a way to say I want the entire document being indexed to be passed in? Essentially all fields without explicitly listing each one?
I realize I could just wrap the whole document in a single dummy field and list that in params
but I'm performing upserts and don't want that dummy wrapper in the document if it does an insert.
I'm using es.input.json = true