![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ElasticSearch
秋夜无霜
好学Java
展开
-
ElasticSearch7.3.2-Rest实战指南-Search APIs
1、Search APIs Most search APIs are multi-index, with the exception of the Explain API endpoints. 1.1、 Search Returns search hits that match the query defined in the request. Request GET /<index>/_search GET /_search POST /<index>/_search原创 2020-05-24 16:22:10 · 384 阅读 · 0 评论 -
ElasticSearch7.3.2-Rest实战指南-Document APIs
文章目录一、Single document APIs1.1、Index1.2、Get1.3、Delete1.4、Delete by query API1.5、Update API二、Multi-document APIs2.1、Multi get2.2、Bulk3、More 一、Single document APIs 1.1、Index Adds a JSON document to the specified index and makes it searchable. If the document原创 2020-05-23 19:32:43 · 248 阅读 · 0 评论 -
ElasticSearch7.3.2-集群搭建指南
1、环境准备 我们选择基于7.3.2版本安装部署,基于cluster部署,假设我们有三台虚拟机(192.168.1.1、192.168.1.2、192.168.1.3)。 1.1、下载解压 基于root用户下 su root mkdir /opt/elastic wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.2-linux-x86_64.tar.gz tar zxvf elasticsearch-7.3原创 2020-05-19 17:14:42 · 657 阅读 · 0 评论 -
ElasticSearch7.3.2-RestHighLevelClient实战
一、项目依赖 既然我们server安装7.3.2,那么我们客户端选择同样版本,高版本提供了更高层的api抽象封装。 <!--引入es --> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>7.3.2</version> </depend原创 2020-05-21 13:31:19 · 1754 阅读 · 2 评论 -
ElasticSearch7.3.2-Rest实战指南-Index APIs
一、介绍 curl是利用URL语法在命令行方式下工作的开源文件传输工具,使用url可以简单实现常见的get/post请求。简单的认为是可以在命令行下面访问url的一个工具。在centos的默认库里面是有curl工具的,如果没有请yum安装即可。 curl -X 指定http的请求方法有 HEAD GET POST PUT DELETE -d 指定要传输的数据 -H 指定http请求头信息 二、示例 2.1、索引配置 索引库名称必须要全部小写,不能以下划线开头,也不能包含逗号 创建索引 curl原创 2020-05-20 18:47:12 · 443 阅读 · 1 评论