_elastic_search.py 文件源码

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

项目:querygraph 作者: peter-woyzbun 项目源码 文件源码
def __init__(self, name, host, port, doc_type, index):
        self.host = host
        self.port = port
        self.doc_type = doc_type
        self.index = index
        DatabaseInterface.__init__(self,
                                   name=name,
                                   db_type='ElasticSearch',
                                   conn_exception=elasticsearch.ConnectionError,
                                   execution_exception=elasticsearch.ElasticsearchException,
                                   type_converter=self.TYPE_CONVERTER,
                                   deserialize_query=True)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号