当前位置:网站首页>Restclient operation index library - initialize restclient
Restclient operation index library - initialize restclient
2022-07-23 08:04:00 【Its natural happy clothes】
1. introduce es Of RestHighLevelClient rely on :
<!--elasticsearch-->
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>7.12.1</version>
</dependency>2. because SpringBoot default ES The version is 7.6.2, So we need to override the default ES edition :

3. initialization RestHighLevelClient:
return new RestHighLevelClient(RestClient.builder(
HttpHost.create("http://192.168.150.101:9200")
));
边栏推荐
- Bottom compulsory of large factory: "communication realization between application program and AMS"
- Experiment 7 H.264 file analysis
- c语言扫雷
- Yolov5 post-processing code of cpu/gpu (CUDA) version
- Matlab保存数据到csv文件的方法分享
- 怎么使用selenium.chrome实现扩展拦截或转发请求功能
- squid代理服务+ip代理池
- matlab声音信号处理 频率图 信号过滤和播放声音
- Web资源共享
- 弥散张量分析开源软件 DSI Studio 简体中文汉化版可以下载了
猜你喜欢

Talking about performance optimization: analysis and optimization of APP startup process

驱动页面性能优化的3个有效策略

Dispersion tensor analysis open source software DSI studio simplified Chinese version can be downloaded

Worthington哺乳动物乳酸脱氢酶研究——特点及测定方案

实验五 JPEG

算法面试高频题解指南【一】

不会吧?钉钉都下载了,你还不知道可以这样玩?

浅谈性能优化:APP的启动流程分析与优化

轮毂电机主动减振系统及其垂向性能优化

I use the factory mode in jd.com and explain the factory mode clearly
随机推荐
wps数据拆分
Etcdv3 · watch operation implementation and relevant key instructions
Scala Generic 泛型类详解 - T
Storage structure and method of graph (I)
Flick batch reading es
大咖访谈 | 开源社区里各种奇怪的现状——夜天之书陈梓立tison
1.11 ArrayList & student management system
VMware virtual machine changes static IP and reports an error unit network Service entered failed state solution
ProSci LAG3抗体:改善体外研究,助力癌症免疫治疗
[day 31] given an integer n, find the base and exponent of each prime factor | basic theorem of arithmetic
flink批量读取es
Fastapi learning (II) -- fastapi+jinjia2 template rendering web page (jump back to the rendering page)
不会吧?钉钉都下载了,你还不知道可以这样玩?
Qt+vtk+pcl pictures are converted to grayscale images and displayed with grayscale as the Y axis
Experiment 7 H.264 file analysis
组蛋白研究丨Worthington小牛胸腺组蛋白的特征及文献参考
初出茅庐的小李第110篇博客之详细剖析STM32中__NVIC_SetPriorityGrouping(uint32_t PriorityGroup)函数
networkx 对图进行可视化
Scala generic generic class details - t
牛客小白月赛53