更新时间:2023-12-05 13:29:52
供以后参考,以下部分更新方法有效。
For future reference, the following method of partial update worked.
elasticsearch.update(index='gdata34', doc_type='gdat', id='328091-72341-7',
body={
'doc': {'x': {'y':'z'}}
}
)