Skip to content

Ingest Processors missing optional fields #1827

Open
@seanstory

Description

@seanstory

🐛 Wrong type

Ingest Processors, pretty much all in this list:
https://github.com/elastic/elasticsearch-specification/blob/main/specification/ingest/_types/Processors.ts

Many are missing optional fields. The most important of which are description and tag, which likely should be part of the ProcessorBase, unless there really are any processors that do not support these. But I think they all do.

Definition

If possible provide a snippet with the fix.

 export class AttachmentProcessor extends ProcessorBase {
  field: Field
  ignore_missing?: boolean
  indexed_chars?: long
  indexed_chars_field?: Field
  properties?: string[]
  target_field?: Field
  resource_name?: string
+  remove_binary?: boolean
+ description?: string
+ tag?: string[]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions