# lock-utils **Repository Path**: flying-feather/lock-utils ## Basic Information - **Project Name**: lock-utils - **Description**: 第三方技术封装 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-17 - **Last Updated**: 2023-08-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # lock-utils ## 概述 ``` 第三方技术汇总:ElasticSearch ``` ### elastic-spring-boot-autoconfigure介绍 #### ElasticSearch的异步API代码编写比较复杂,因此我们需要封装成工具,方便后期的使用。而且最好与SpringBoot整合,完成自动配置的starter。最终达成与MybatisPlus一样的效果: ``` 1.用户定义接口并继承我们的接口,获取CRUD的方法 2.我们实现接口中的方法 3.通过动态代理来代理用户接口,并注入Spring容器 4.实现自动配置 ``` ### elastic-spring-boot-autoconfigure使用 #### 1.IDEA下载源码并打开 ![img_1.png](elastic-spring-boot-autoconfigure/src/main/resources/img/img_1.png) #### 2.通过maven窗口,安装jar到本地 ![img.png](elastic-spring-boot-autoconfigure/src/main/resources/img/img.png) #### ˚ 3.查看执行结果 ![img_2.png](elastic-spring-boot-autoconfigure/src/main/resources/img/img_2.png) ### 测试 See [待完成](https://www.baidu.com).