I have a huge list of keys and values such as this
[{'appid':12345,'lob': 'Finance'},
{'appid':67891,'lob': 'Banking'},
{'appid':11111,'lob': 'Finance'},
{'appid':22222,'lob': 'Fast Food'}]
I want to create a script and the update_by_query to do this
Search all documents where the field AppId (document field value) = appid (from hashmap) and then update the LOB field in the document based on that value.
I'm having a hard time figuring out where to start but I think this is possible.
Thanks in advance.