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 370672f Doctype is required
370672f is described below
commit 370672f26acbda6434fb42355fb648b930af01dc
Author: Sebb <[email protected]>
AuthorDate: Fri Aug 21 23:19:26 2020 +0100
Doctype is required
---
tools/plugins/elastic.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/plugins/elastic.py b/tools/plugins/elastic.py
index f75550f..8f5a537 100755
--- a/tools/plugins/elastic.py
+++ b/tools/plugins/elastic.py
@@ -133,6 +133,7 @@ class Elastic:
def index(self, **kwargs):
kwargs["wait_for_active_shards"] = self.wait_for_active_shards
+ kwargs["doc_type"] = "_doc"
return self.es.index(**kwargs)
def update(self, **kwargs):