检索搜索管道
要检索现有搜索管道的详细信息,请使用搜索管道 API。
要查看所有搜索管道,请使用以下请求:
GET /_search/pipeline
响应中包含您在上一节中设置的管道。
响应
{
"my_pipeline" : {
"request_processors" : [
{
"filter_query" : {
"tag" : "tag1",
"description" : "This processor is going to restrict to publicly visible documents",
"query" : {
"term" : {
"visibility" : "public"
}
}
}
}
]
}
}
要查看特定管道,请将管道名称指定为路径参数:
GET /_search/pipeline/my_pipeline
您还可以使用通配符模式来查看管道的子集,例如:
GET /_search/pipeline/my*