Skip to content

Add types for plugins #2148

@yacoubb

Description

@yacoubb

🚀 Feature Proposal

We are using icu_collation_keyword field type from the analysis-icu plugin in elastic cloud. It would be useful if the elasitcsearch package included types, or the ability to extend types, to include plugins.

Motivation

Adding the type icu_collation_keyword to a property throws a type error, currently we have to @ts-ignore these errors as the config is accepted when sent to the cluster.

Example

When describing index configurations, adding a mapping of type icu_collation_keyword.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions