摘要:        
GET 请求:
```
http://ip:port/index: 查询索引信息
http://ip;port/index/type/doc_id: 查询指定的文档信息
```
POST 请求:
```
http://ip;port/index/type/_search: 查询文档,可以在请求体中添加json字符串来代表查询条件
http://ip;port/index/type/doc_id/_update: 修改文档,在请求体中指定ison字符串代表修改的具体信息
```
PUT 请求:
```
http://ip;port/index: 创建一个索引,需要在请求体中指定索引的信息,类型,结构
http://ip:port/index/type/_mappings: 代表创建索引时,指定索引文档存储的属性的信息
```
DELETE 请求:
```
http://ip;port/index: 删除跑路
http://ip;port/index/type/doc_id: 删除指定的文档    阅读全文
        
            posted @ 2023-03-06 08:50
VipSoft
阅读(451)
评论(0)
推荐(1)
        
        
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号