![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
elasticsearch
文章平均质量分 82
量化接口stockapi
专注量化数据接口 https://stockapi.com.cn
展开
-
全文检索ElasticSearch整合Springboot整合hight-level-client
1.5 Elasticsearch - Rest - client1、9300:TCPSpring-data-elasticsearch:transport-api.jarSpringBoot版本不同,transport-api.jar 不同,不能适配 es 版本7.x 已经不在适合使用,8 以后就要废弃2、9200:HTTPJestClient 非官方,更新慢RestTemplate:默认发送 HTTP 请求,ES很多操作都需要自己封装、麻烦HttpClient:同上Elasticsea原创 2021-02-11 00:03:58 · 239 阅读 · 0 评论 -
docker安装elasticsearch可视化工具kibana,ik分词器
1、下载镜像文件docker pull elasticsearch:7.4.2下载可视化界面,版本要和elasticsearch的一致docker pull kibana:7.4.22、创建实列mkdir -p /usr/local/elasticsearch/configmkdir -p /usr/local/elasticsearch/dataecho "http.host: 0.0.0.0">>/usr/local/elasticsearch/config/elasti原创 2021-02-09 14:21:54 · 258 阅读 · 0 评论 -
elasticsearch入门到高级
1.3 初步检索1.3.1、_catGET /_cat/nodes:查看所有节点GET /_cat/health:查看 es 健康状况GET /_cat/master:查看主节点GET /_cat/incices:查看所有索引 show databases;1.3.2 索引一个文档(保存)保存一个数据,保存在哪个索引的哪个类型下,指定用哪个唯一标识PUT customer/external/1; 在 customer 索引下的 external 类型下保存 1号数据为,id不能省略,必传,存原创 2021-02-09 18:09:42 · 360 阅读 · 0 评论