python中使用ElasticSearch(三) 一、python中添加elasticsearch 1.新建项目,为该项目安装elasticsearch 编写项目py文件,执行成功,在kibana里面能查询到该索引,表示连接成功。