self._es.update(
index=u'company',
id=company_row[u'id'],
body={"script" : "ctx._source.test+= newElement",
"params": {
"newElement": {
"key": XXX,
"value": XXXX}}})
index=u'company',
id=company_row[u'id'],
body={"script" : "ctx._source.test+= newElement",
"params": {
"newElement": {
"key": XXX,
"value": XXXX}}})
1 个回复
stone_xy
赞同来自: wangmeng