fix: 修改默认es doc_type 为 _doc

pull/6860/head
Michael Bai 3 years ago committed by Jiangjie.Bai
parent d22bb2c92f
commit e47ee43631

@ -32,7 +32,7 @@ class CommandStore():
hosts = config.get("HOSTS") hosts = config.get("HOSTS")
kwargs = config.get("OTHER", {}) kwargs = config.get("OTHER", {})
self.index = config.get("INDEX") or 'jumpserver' self.index = config.get("INDEX") or 'jumpserver'
self.doc_type = config.get("DOC_TYPE") or 'command_store' self.doc_type = config.get("DOC_TYPE") or '_doc'
self.exact_fields = {} self.exact_fields = {}
self.match_fields = {} self.match_fields = {}

Loading…
Cancel
Save