Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions specification/ingest/_types/Processors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,12 @@ export class ProcessorContainer {
* @doc_id split-processor
*/
split?: SplitProcessor
/**
* Terminates the current ingest pipeline, causing no further processors to be run.
* This will normally be executed conditionally, using the `if` option.
* @doc_id terminate-processor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please a corresponding link in specification/_doc_ids/table.csv?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

*/
terminate?: TerminateProcessor
/**
* Trims whitespace from a field.
* If the field is an array of strings, all members of the array will be trimmed.
Expand Down Expand Up @@ -1279,6 +1285,8 @@ export class SplitProcessor extends ProcessorBase {
target_field?: Field
}

export class TerminateProcessor extends ProcessorBase {}

export class TrimProcessor extends ProcessorBase {
/**
* The string-valued field to trim whitespace from.
Expand Down