1.2 KiB
1.2 KiB
layout | title | nav_order | has_children | parent | grand_parent |
---|---|---|---|---|---|
default | Retrieving search pipelines | 25 | false | Search pipelines | Search |
Retrieving search pipelines
To retrieve the details of an existing search pipeline, use the Search Pipeline API.
To view all search pipelines, use the following request:
GET /_search/pipeline
{% include copy-curl.html %}
The response contains the pipeline that you set up in the previous section:
Response
{: .text-delta}{
"my_pipeline" : {
"request_processors" : [
{
"filter_query" : {
"tag" : "tag1",
"description" : "This processor is going to restrict to publicly visible documents",
"query" : {
"term" : {
"visibility" : "public"
}
}
}
}
]
}
}
To view a particular pipeline, specify the pipeline name as a path parameter:
GET /_search/pipeline/my_pipeline
{% include copy-curl.html %}
You can also use wildcard patterns to view a subset of pipelines, for example:
GET /_search/pipeline/my*
{% include copy-curl.html %}