We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59b89a7 commit bf64a05Copy full SHA for bf64a05
tools/export.py
@@ -24,7 +24,7 @@ def write(self, index_id, body):
24
"""
25
文件写入
26
27
- self.bulk_fp.write(json.dumps({"index": {"_index": self._index, '_type': self._type, 'id': index_id}})+"\n")
+ self.bulk_fp.write(json.dumps({"index": {"_index": self._index, '_type': self._type, '_id': index_id}})+"\n")
28
self.bulk_fp.write(json.dumps(body)+"\n")
29
30
def close(self):
0 commit comments