使用postman操作ElasticSearch的方法
作者:ywl470812087 时间:2023-04-22 20:58:14
Postman是一款功能强大的网页调试与发送网页HTTP请求的Chrome插件
Postman背景介绍
用户在开发或者调试网络程序或者是网页B/S模式的程序的时候是需要一些方法来跟踪网页请求的,用户可以使用一些网络的监视工具比如著名的Firebug等网页调试工具。今天给大家介绍的这款网页调试工具不仅可以调试简单的css、html、脚本等简单的网页基本信息,它还可以发送几乎所有类型的HTTP请求!Postman在发送网络HTTP请求方面可以说是Chrome插件类产品中的代表产品之一。
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"
响应成功
来源:https://blog.csdn.net/ywl470812087/article/details/104663870
标签:postman,ElasticSearch
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Pandas中Series的属性,方法,常用操作使用案例
2021-11-22 05:00:47
![](https://img.aspxhome.com/file/2023/1/83771_0s.png)
详解python tcp编程
2021-04-30 00:12:46
![](https://img.aspxhome.com/file/2023/1/90941_0s.png)
python3 实现除法结果为整数
2023-06-27 20:08:22
![](https://img.aspxhome.com/file/2023/6/118546_0s.jpg)
如何使用Python进行OCR识别图片中的文字
2021-05-05 13:11:07
MySQL中连接查询和子查询的问题
2024-01-19 04:27:32
![](https://img.aspxhome.com/file/2023/0/78100_0s.png)
SQL Server误区30日谈 第1天 正在运行的事务在服务器故障转移后继续执行
2024-01-14 22:53:03
13个你希望早点知道的实用WordPress SQL查询语句[译]
2010-02-28 12:48:00
![](https://img.aspxhome.com/file/UploadPic/20102/28/sqlbox-14s.jpg)
Web表单设计:表单结构
2011-04-22 12:32:00
js控制输入框获得和失去焦点时状态显示的方法
2024-04-17 10:24:04
五个提升Python的执行效率的技巧分享
2021-01-07 09:52:45
ajax的缺点
2007-11-08 12:51:00
MySQL查询语句过程和EXPLAIN语句基本概念及其优化
2024-01-18 07:44:36
![](https://img.aspxhome.com/file/2023/2/76442_0s.png)
JS实现求5的阶乘示例
2024-04-30 10:09:43
![](https://img.aspxhome.com/file/2023/2/130502_0s.png)
python用正则表达式提取/匹配中文汉字
2021-06-12 23:45:50
![](https://img.aspxhome.com/file/2023/3/99303_0s.jpg)
ASP编程入门进阶教程
2008-06-29 18:00:00
![](https://img.aspxhome.com/file/UploadPic/20086/29/2008629183150594s.jpg)
pytorch使用-tensor的基本操作解读
2022-05-23 03:15:12
![](https://img.aspxhome.com/file/2023/3/95443_0s.png)
Python后台开发Django的教程详解(启动)
2023-03-25 19:00:10
![](https://img.aspxhome.com/file/2023/4/82564_0s.png)
Python实现向服务器请求压缩数据及解压缩数据的方法示例
2023-03-14 05:02:08
Django数据库(SQlite)基本入门使用教程
2024-01-22 01:13:03
![](https://img.aspxhome.com/file/2023/4/98814_0s.jpg)
用Python的Django框架编写从Google Adsense中获得报表的应用
2022-10-01 13:20:07