GET 索引名称/_search
{
"_source": ["name", "flag", "domain"],
"query": {
"bool": {
"must": [{"match": {
"response_result": "失败"
}}]
}
}
}
本文介绍了一种使用GET请求从指定索引中搜索响应结果为失败的记录的方法,通过精确匹配response_result字段来筛选出失败的条目。
GET 索引名称/_search
{
"_source": ["name", "flag", "domain"],
"query": {
"bool": {
"must": [{"match": {
"response_result": "失败"
}}]
}
}
}

被折叠的 条评论
为什么被折叠?