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 7a8c4ed += info and create functions
7a8c4ed is described below
commit 7a8c4ed7f89d061c439b95e42ffecb818d58aa63
Author: Sebb <[email protected]>
AuthorDate: Tue Sep 28 13:39:33 2021 +0100
+= info and create functions
---
tools/plugins/elastic.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/plugins/elastic.py b/tools/plugins/elastic.py
index 0aa6bb5..bd8d9ec 100755
--- a/tools/plugins/elastic.py
+++ b/tools/plugins/elastic.py
@@ -142,6 +142,12 @@ class Elastic:
kwargs["doc_type"] = "_doc"
return self.es.index(**kwargs)
+ def create(self, **kwargs):
+ return self.es.create(**kwargs)
+
+ def info(self, **kwargs):
+ return self.es.info(**kwargs)
+
def update(self, **kwargs):
return self.es.update(index=self.dbname, **kwargs)