[elasticsearch]使用postman来查询数据

最近需要debug程序,debug的时候需要查找elasticsearch里面的数据是否正确。

第一步建立一个post请求,并按照图下的方式填上ur和参数:

发送post请求,url为:

复制代码
http://ip:port/index_name/_search

我这里查询的是title字段。

复制代码
{
   "query":{
      "query_string":{
         "query":"基于半监督学习的客户流失预测......",
         "fields": ["title" ]
      }
   }
}

如果需要用户名和密码,需要这样填写:

填写用户名和密码:

然后点击send就可以获取数据啦。

参考文献

elasticsearch_search_apis.htm

使用postman访问带密码的elastic

相关推荐
历程里程碑9 分钟前
二叉树---二叉树的最大深度
大数据·数据结构·算法·elasticsearch·搜索引擎·全文检索·深度优先
大气层煮月亮2 小时前
ERP-Agent 记忆系统优化方案
java·大数据·elasticsearch
coderlin_2 小时前
Langgraph项目 一(mysql,es,qdrant,embedding模块)
mysql·elasticsearch·embedding
倒流时光三十年2 小时前
Elasticsearch SearchRequest 构建备忘录
大数据·elasticsearch
上海合宙LuatOS2 小时前
LuatOS扩展库API——【extp】触摸控制
嵌入式硬件·物联网·lua·luatos
Elastic 中国社区官方博客4 小时前
多大才算太大?Elasticsearch 容量规划最佳实践
大数据·运维·数据库·elasticsearch·搜索引擎·全文检索
上海合宙LuatOS5 小时前
LuatOS扩展库API——【exvib】震动检测
开发语言·物联网·lua·luatos
LDG_AGI5 小时前
【搜索引擎】Elasticsearch(四):bool查询(与where类似),多条件搜索利器
大数据·人工智能·深度学习·elasticsearch·机器学习·搜索引擎
TechExplorer36515 小时前
Postman 9.12 安装、汉化、禁用更新
测试工具·lua·postman
Elasticsearch1 天前
使用 Jina 远程 MCP 服务器的 Agentic 工作流
elasticsearch