es.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:xunfengES 作者: superhuahua 项目源码 文件源码
def get_all_plugins(self):
        index = ElasticConfig.INDEX_VULTASKS["index"]
        doc_type = ElasticConfig.INDEX_VULTASKS["type"]
        scroll = "2m"
        size = 30
        body = {"query" : {"match_all": {}}}
        data = helpers.scan(client=self.es, query=body, index=index, doc_type=doc_type, scroll=scroll, size=size)
        return data

    #search assets
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号