最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
使用postman操作ElasticSearch代码方法
时间:2022-06-25 02:54:17 编辑:袖梨 来源:一聚教程网
本篇文章小编给大家分享一下使用postman操作ElasticSearch代码方法,文章代码介绍的很详细,小编觉得挺不错的,现在分享给大家供大家参考,有需要的小伙伴们可以来看看。
Postman的操作环境
postman适用于不同的操作系统,Postman Mac、Windows X32、Windows X64、Linux系统,还支持postman 浏览器扩展程序、postman chrome应用程序等。
下面给大家介绍使用postman操作ElasticSearch的方法,具体内容如下所示:
下载安装好postman之后
添加索引blog1(因为ElasticSearch是restful请求所以我们用postman发送http请求给ElasticSearch)
{
"mappings":{
"article":{
"properties":{
"id":{
"type":"long",
"store":"true",
"index":"true"
},
"title":{
"type":"text",
"store":"true",
"index":"true",
"analyzer":"standard"
},
"context":{
"type":"text",
"store":"true",
"index":"true",
"analyzer":"standard"
响应成功
相关文章
- 月蚀技能攻略(掌握月蚀技能,成为真正的黑暗之王!) 05-06
- 纳米ai怎么静音 纳米ai静音方法 05-06
- 《灵兽江湖》新手玩法攻略分享 05-06
- 元婴后期技能搭配攻略(掌握合理搭配,提升战斗实力) 05-06
- 《掌握剑宗晴天技能的关键攻略》(解析DNF剑宗晴天技能的实战技巧与策略) 05-06
- 讯飞星火app怎么使用 讯飞星火app使用方法 05-06

