Skip to content

Commit

Permalink
Fix the trim processor table (#9229) (#9231)
Browse files Browse the repository at this point in the history
  • Loading branch information
opensearch-trigger-bot[bot] authored Feb 17, 2025
1 parent 7e8c264 commit e24a2fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions _ingest-pipelines/processors/trim.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ The following is the syntax for the `trim` processor:
The following table lists the required and optional parameters for the `trim` processor.

Parameter | Required/Optional | Description
-----------|-----------|-----------
:---|:---|:---
`field` | Required | The field containing the text to be trimmed.
`target_field` | Required | The field in which the trimmed text is stored. If not specified, then the field is updated in-place.
`ignore_missing` | Optional | Specifies whether the processor should ignore documents that do not contain the specified
field. If set to `true`, then the processor ignores missing values in the field and leaves the `target_field` unchanged. Default is `false`.
`ignore_missing` | Optional | Specifies whether the processor should ignore documents that do not contain the specified field. If set to `true`, then the processor ignores missing values in the field and leaves the `target_field` unchanged. Default is `false`.
`description` | Optional | A brief description of the processor.
`if` | Optional | A condition for running the processor.
`ignore_failure` | Optional | Specifies whether the processor continues execution even if it encounters an error. If set to `true`, then failures are ignored. Default is `false`.
Expand Down

0 comments on commit e24a2fa

Please sign in to comment.