# springboot_es **Repository Path**: ckfeng/springboot_es ## Basic Information - **Project Name**: springboot_es - **Description**: 使用springboot整合es实现简单的crud - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-09-21 - **Last Updated**: 2021-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot_es #### 介绍 使用springboot整合es实现简单的crud #### 使用说明 springboot的版本以及es的版本要对应,否则启动不了。 下载好es后,需要修改elasticsearch.yml配置文件 network.host: 0.0.0.0 cluster.initial_master_nodes: ["node-1"] http.port: 9200 在配置文件最后加上如下配置文件 http.cors.enabled: true http.cors.allow-origin: "*" node.master: true node.data: true ### 进入es到的bin目录下执行如下代码安装ik(这里的版本号版本改为你es的版本) elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.9.0/elasticsearch-analysis-ik-7.9.0.zip ### 版本关系 1. springboot版本是2.2.5.RELEASE 2. es版本是7.9.0