https://github.com/battcn/elasticsearch-spring-boot
elasticsearch-spring-boot
https://github.com/battcn/elasticsearch-spring-boot
Last synced: about 2 months ago
JSON representation
elasticsearch-spring-boot
- Host: GitHub
- URL: https://github.com/battcn/elasticsearch-spring-boot
- Owner: battcn
- Created: 2019-07-03T03:13:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-05T18:20:24.000Z (over 2 years ago)
- Last Synced: 2025-04-11T22:52:19.077Z (about 2 months ago)
- Language: Java
- Size: 27.3 KB
- Stars: 23
- Watchers: 4
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 简介 #
> 源码地址
- GitHub:[https://github.com/battcn/elasticsearch-spring-boot](https://github.com/battcn/elasticsearch-spring-boot "https://github.com/battcn/elasticsearch-spring-boot")
- 码云:[https://gitee.com/battcn/elasticsearch-spring-boot/](https://gitee.com/battcn/elasticsearch-spring-boot/ "https://gitee.com/battcn/spring-boot-starter-swagger/")`elasticsearch-spring-boot-starter` 是一款建立在 `elasticsearch-rest-high-level-client` 基础之上的工具包
> 项目介绍
- **`elasticsearch-spring-boot-autoconfigure` :具体代码**
- **`elasticsearch-spring-boot-starter` : 自动装配 elasticsearch 的扩展包****如果该项目对您有帮助,欢迎 Fork 和 Star,有疑问可以加 `QQ:1837307557`一起交流 ,如发现项目BUG可以提交`Issue`**
# 使用 #
- 在`pom.xml`中引入依赖:
``` xml
1.8
7.1.1com.battcn
elasticsearch-spring-boot-starter
1.0.1.RELEASE```
### properties ###
```
spring.elasticsearch.rest.cluster-name=elasticsearch
spring.elasticsearch.rest.uris=http://localhost:9200
spring.elasticsearch.rest.http-client.max-total=200
spring.elasticsearch.rest.http-client.default-max-per-route=100
spring.elasticsearch.rest.http-client.connect-timeout=10000
spring.elasticsearch.rest.http-client.read-timeout=10000
spring.elasticsearch.rest.http-client.connection-request-timeout=10000
```# 贡献者 #
Levin:[email protected]
- 个人博文:[http://blog.battcn.com](http://blog.battcn.com "http://blog.battcn.com")
# 如何参与 #
有兴趣的可以联系本人(Pull Request),参与进来一起开发