It is great to be able to just get the source of a document directly
with field scripts. I was just wondering if it was possible to edit
the source itself. This is particularly useful if you are giving the
client direct access to the raw json. You may want to omit the id key
of the document or some other security sensitive information. You may
want to rename some of the keys to a more user-friendly name. Is it
possible to include parameters to achieve this effect?
Of course, this does not have to be done on the elasticsearch side.
But, it would be really neat if there was this possibility or if the
feature was implemented in a future version.