Skip to content

Commit

Permalink
Add new steps and missing delete search pipeline doc
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <widdis@gmail.com>
  • Loading branch information
dbwiddis committed Jul 9, 2024
1 parent 7281cdf commit 81fa970
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _automating-configurations/workflow-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ The following table lists the workflow step types. The `user_inputs` fields for
|`delete_agent` |[Delete Agent API]({{site.url}}{{site.baseurl}}/ml-commons-plugin/) |Deletes an agent. |
|`create_tool` |No API | A special-case non-API step encapsulating the specification of a tool for an agent in the ML Commons Agent Framework. These will be listed as `previous_node_inputs` for the appropriate register agent step, with the value set to `tools`. |
|`create_index`|[Create Index]({{site.url}}{{site.baseurl}}/api-reference/index-apis/create-index/) | Creates a new OpenSearch index. The inputs include `index_name`, which should be the name of the index to be created, and `configurations`, which contains the payload body of a regular REST request for creating an index.
|`delete_index`|[Delete Index]({{site.url}}{{site.baseurl}}/api-reference/index-apis/delete-index/) | Deletes an OpenSearch index. The inputs include `index_name`, which should be the name of the index to be deleted.
|`create_ingest_pipeline`|[Create Ingest Pipeline]({{site.url}}{{site.baseurl}}/ingest-pipelines/create-ingest/) | Creates or updates an ingest pipeline. The inputs include `pipeline_id`, which should be the ID of the pipeline, and `configurations`, which contains the payload body of a regular REST request for creating an ingest pipeline.
|`delete_ingest_pipeline`|[Delete Ingest Pipeline]({{site.url}}{{site.baseurl}}/ingest-pipelines/delete-ingest/) | Deletes an ingest pipeline. The inputs include `pipeline_id`, which should be the ID of the pipeline to delete.
|`create_search_pipeline`|[Create Search Pipeline]({{site.url}}{{site.baseurl}}/search-plugins/search-pipelines/creating-search-pipeline/) | Creates or updates a search pipeline. The inputs include `pipeline_id`, which should be the ID of the pipeline, and `configurations`, which contains the payload body of a regular REST request for creating a search pipeline.
|`delete_search_pipeline`|[Delete Search Pipeline]({{site.url}}{{site.baseurl}}/search-plugins/search-pipelines/deleting-search-pipeline/) | Deletes a search pipeline. The inputs include `pipeline_id`, which should be the ID of the pipeline to delete.
|`reindex`|[Reindex]({{site.url}}{{site.baseurl}}/api-reference/document-apis/reindex/) | The reindex document API operation lets you copy all or a subset of your data from a source index into a destination index. The input includes source_index, destination_index, and the following optional parameters from the document reindex API: `refresh`, `requests_per_second`, `require_alias`, `slices`, and `max_docs`. For more information, see [Reindexing considerations](#reindexing-considerations).

## Reindexing considerations
Expand Down
26 changes: 26 additions & 0 deletions _search-plugins/search-pipelines/deleting-search-pipeline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: default
title: Deleting search pipelines
nav_order: 30
has_children: false
parent: Search pipelines
grand_parent: Search
---

# Deleting search pipelines

Use the following request to delete a pipeline.

To delete a specific search pipeline, pass the pipeline ID as a parameter:

```json
DELETE /_search/pipeline/<pipeline-id>
```
{% include copy-curl.html %}

To delete all search pipelines in a cluster, use the wildcard character (`*`):

```json
DELETE /_search/pipeline/*
```
{% include copy-curl.html %}

0 comments on commit 81fa970

Please sign in to comment.