详解 Jeecg-boot 框架如何配置 elasticsearch

目录

一、下载安装 Elasticsearch

1、 地址:https://www.elastic.co/cn/downloads/elasticsearch

2、下载完成后,解压缩,进入config目录更改配置文件

3、 修改配置完成后,前往bin目录启动el

4、访问:localhost:9200 测试

 二、配置 Jeecg-boot 框架

1、导入jeecg项目后,打开application-dev.yml配置文件,设置为如下

2、配置完成后启动 JeecgSystemApplication 


一、下载安装 Elasticsearch

1、 地址:https://www.elastic.co/cn/downloads/elasticsearch
详解 Jeecg-boot 框架如何配置 elasticsearch_第1张图片 这边用的windows,直接下载

 

2、下载完成后,解压缩,进入config目录更改配置文件
详解 Jeecg-boot 框架如何配置 elasticsearch_第2张图片 config

详解 Jeecg-boot 框架如何配置 elasticsearch_第3张图片 elasticsearch.yml

 

详解 Jeecg-boot 框架如何配置 elasticsearch_第4张图片

3、 修改配置完成后,前往bin目录启动el

详解 Jeecg-boot 框架如何配置 elasticsearch_第5张图片 

详解 Jeecg-boot 框架如何配置 elasticsearch_第6张图片 双击 elasticsearch.bat 启动
4、访问:localhost:9200 测试

详解 Jeecg-boot 框架如何配置 elasticsearch_第7张图片

 二、配置 Jeecg-boot 框架

1、导入jeecg项目后,打开application-dev.yml配置文件,设置为如下

详解 Jeecg-boot 框架如何配置 elasticsearch_第8张图片

2、配置完成后启动 JeecgSystemApplication 

有以上输出说明配置成功

 

你可能感兴趣的:(elasticsearch,大数据,搜索引擎,eclipse,intellij-idea,spring,cloud,maven)