Elasticsearch bulk(): how to set up id?

后端 未结 0 1106
忘掉有多难
忘掉有多难 2020-12-03 17:17

I would like to add \'id\' to my code, but i\'am getting error.

Code:

helpers.bulk(es, completed_data, index=index_name, id= \'lokalnyid\', doc_type=\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题