最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
使用postman操作ElasticSearch代码方法
时间:2021-03-13 编辑:袖梨 来源:一聚教程网
本篇文章小编给大家分享一下使用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"
响应成功
-
上一个: AJAX实现注册验证用户名代码示例
相关文章
- C#复制数组的两种方式及效率比较解读 10-24
- ASP.NET Identity用法解析 10-24
- ASP.NET MVC使用Identity增删改查用户介绍 10-24
- C语言中atoi函数模拟实现介绍 10-18
- .Net反向代理组件Yarp用法介绍 10-10
- .NET使用YARP通过编码方式配置域名转发实现反向代理教程 10-10