Skip to content

Commit b1235bb

Browse files
Add terminate ingest processor
1 parent 9db9572 commit b1235bb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

specification/ingest/_types/Processors.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@ export class ProcessorContainer {
230230
* @doc_id split-processor
231231
*/
232232
split?: SplitProcessor
233+
/**
234+
* Terminates the current ingest pipeline, causing no further processors to be run.
235+
* This will normally be executed conditionally, using the `if` option.
236+
* @doc_id terminate-processor
237+
*/
238+
terminate?: TerminateProcessor
233239
/**
234240
* Trims whitespace from a field.
235241
* 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 {
12791285
target_field?: Field
12801286
}
12811287

1288+
export class TerminateProcessor extends ProcessorBase {
1289+
}
1290+
12821291
export class TrimProcessor extends ProcessorBase {
12831292
/**
12841293
* The string-valued field to trim whitespace from.

0 commit comments

Comments
 (0)