I have a index with a field which is of type keyword. The data is stored in upper case. I want to use _update_by_query and convert it to lowercase using Painless. Could you please help.
Output needed after update: