Skip to content

Commit

Permalink
Update urldecode.md
Browse files Browse the repository at this point in the history
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>

Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
  • Loading branch information
vagimeli authored Apr 30, 2024
1 parent 4d84af8 commit 832e0cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _ingest-pipelines/processors/urldecode.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ The following example response confirms that the pipeline is working as expected
]
}
```
{% include copy-curl.html %}

### Step 3: Ingest a document

Expand All @@ -119,8 +120,7 @@ PUT testindex1/_doc/1?pipeline=url_decode_pipeline

#### Response

The request indexes the document into the index `testindex1` and will index all documents containing the
`encoded_url` field, which will be processed by the `urldecode_pipeline` to populate the `decoded_url` field.
The preceding request indexes the document into the index `testindex1` and indexes all documents containing the `encoded_url` field, which is processed by the `urldecode_pipeline` to populate the `decoded_url` field, as shown in the following response:

```json
{
Expand All @@ -137,6 +137,7 @@ The request indexes the document into the index `testindex1` and will index all
"_primary_term": 47
}
```
{% include copy-curl.html %}

### Step 4 (Optional): Retrieve the document

Expand Down Expand Up @@ -165,3 +166,4 @@ The response includes the original `encoded_url` field and the `decoded_url` fie
}
}
```
{% include copy-curl.html %}

0 comments on commit 832e0cf

Please sign in to comment.