diff --git a/specification/ingest/_types/Processors.ts b/specification/ingest/_types/Processors.ts index 27b0729437..9b539d4d49 100644 --- a/specification/ingest/_types/Processors.ts +++ b/specification/ingest/_types/Processors.ts @@ -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 + */ + terminate?: TerminateProcessor /** * Trims whitespace from a field. * If the field is an array of strings, all members of the array will be trimmed. @@ -1279,6 +1285,9 @@ 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.