mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
[docs] update ingest-node delete docs to mention wildcarding (#22270)
This commit is contained in:
parent
ad4405f244
commit
ad4b1ecdeb
@ -143,7 +143,7 @@ This should give a small response that makes it both easy and inexpensive to par
|
|||||||
[[delete-pipeline-api]]
|
[[delete-pipeline-api]]
|
||||||
=== Delete Pipeline API
|
=== Delete Pipeline API
|
||||||
|
|
||||||
The delete pipeline API deletes pipelines by ID.
|
The delete pipeline API deletes pipelines by ID or wildcard match (`my-*`, `*`).
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
@ -152,6 +152,36 @@ DELETE _ingest/pipeline/my-pipeline-id
|
|||||||
// CONSOLE
|
// CONSOLE
|
||||||
// TEST[continued]
|
// TEST[continued]
|
||||||
|
|
||||||
|
////
|
||||||
|
Hidden setup for wildcard test:
|
||||||
|
[source,js]
|
||||||
|
--------------------------------------------------
|
||||||
|
PUT _ingest/pipeline/wild-one
|
||||||
|
{
|
||||||
|
"description" : "first pipeline to be wildcard deleted",
|
||||||
|
"processors" : [ ]
|
||||||
|
}
|
||||||
|
|
||||||
|
PUT _ingest/pipeline/wild-two
|
||||||
|
{
|
||||||
|
"description" : "second pipeline to be wildcard deleted",
|
||||||
|
"processors" : [ ]
|
||||||
|
}
|
||||||
|
|
||||||
|
DELETE _ingest/pipeline/*
|
||||||
|
--------------------------------------------------
|
||||||
|
// CONSOLE
|
||||||
|
|
||||||
|
Hidden expected response:
|
||||||
|
[source,js]
|
||||||
|
--------------------------------------------------
|
||||||
|
{
|
||||||
|
"acknowledged": true
|
||||||
|
}
|
||||||
|
--------------------------------------------------
|
||||||
|
// TESTRESPONSE
|
||||||
|
////
|
||||||
|
|
||||||
[[simulate-pipeline-api]]
|
[[simulate-pipeline-api]]
|
||||||
=== Simulate Pipeline API
|
=== Simulate Pipeline API
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user