This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 5d66d7c Deprecated bulk parameter _type
5d66d7c is described below
commit 5d66d7cd8031271611b2761992bb578587ff3275
Author: Sebb <[email protected]>
AuthorDate: Sun Sep 26 12:00:18 2021 +0100
Deprecated bulk parameter _type
ElasticsearchWarning: [types removal]
Specifying types in bulk requests is deprecated.
---
tools/import-mbox.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 00e3d6a..b432486 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -99,7 +99,6 @@ def bulk_insert(name, json, xes, dtype, wc="quorum"):
"_op_type": "index",
"_consistency": wc,
"_index": dbname + "-" + dtype,
- "_type": "_doc",
"_id": document_id,
"doc": js,
"_source": js,