Skip to content

Commit

Permalink
Update script.md
Browse files Browse the repository at this point in the history
Signed-off-by: Melissa Vagi <[email protected]>

Signed-off-by: Melissa Vagi <[email protected]>
  • Loading branch information
vagimeli authored Jun 6, 2024
1 parent 5090c65 commit 3886380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _ingest-pipelines/processors/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ parent: Ingest processors
nav_order: 230
---

# `script` processor
# Script processor

The `script` processor executes inline and stored scripts that can modify or transform data in an OpenSearch document during the ingestion process. The processor uses script caching for improved performance because scripts may be recompiled per document. Refer to [Script APIs](https://opensearch.org/docs/latest/api-reference/script-apis/index/) for information about working with scripts in OpenSearch.

Expand Down Expand Up @@ -126,7 +126,7 @@ POST testindex1/_doc?pipeline=my-script-pipeline

#### Response

The response confirms that the document has been indexed into `testindex1` and is indexing all documents with the `message` field converted to uppercase:
The response confirms that the document has been indexed into `testindex1` and has indexed all documents with the `message` field converted to uppercase:

```json
{
Expand Down

0 comments on commit 3886380

Please sign in to comment.