Skip to content

Commit

Permalink
[DOCS] Adds descriptions to ingest APIs (#2236)
Browse files Browse the repository at this point in the history
Co-authored-by: Abdon Pijpelink <[email protected]>
  • Loading branch information
szabosteve and abdonpijpelink authored Aug 14, 2023
1 parent 94a3330 commit cafccde
Show file tree
Hide file tree
Showing 12 changed files with 1,595 additions and 370 deletions.
477 changes: 408 additions & 69 deletions output/schema/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

628 changes: 331 additions & 297 deletions specification/_doc_ids/table.csv

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions specification/ingest/_types/Pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,22 @@ import { VersionNumber } from '@_types/common'
import { ProcessorContainer } from './Processors'

export class Pipeline {
/**
* Description of the ingest pipeline.
*/
description?: string
/**
* Processors to run immediately after a processor failure.
*/
on_failure?: ProcessorContainer[]
/**
* Processors used to perform transformations on documents before indexing.
* Processors run sequentially in the order specified.
*/
processors?: ProcessorContainer[]
/**
* Version number used by external systems to track ingest pipelines.
*/
version?: VersionNumber
}

Expand All @@ -42,7 +55,17 @@ export enum PipelineFailure {
}

export class PipelineConfig {
/**
* Description of the ingest pipeline.
*/
description?: string
/**
* Version number used by external systems to track ingest pipelines.
*/
version?: VersionNumber
/**
* Processors used to perform transformations on documents before indexing.
* Processors run sequentially in the order specified.
*/
processors: ProcessorContainer[]
}
Loading

0 comments on commit cafccde

Please sign in to comment.