Skip to content

Log deprecation for nGram and edgeNGram custom filters (#50376)#50445

Merged
cbuescher merged 1 commit intoelastic:7.xfrom
cbuescher:backport-50376
Dec 20, 2019
Merged

Log deprecation for nGram and edgeNGram custom filters (#50376)#50445
cbuescher merged 1 commit intoelastic:7.xfrom
cbuescher:backport-50376

Conversation

@cbuescher
Copy link
Copy Markdown
Member

The camel-case nGram and edgeNGram filter names were deprecated in 6. We
currently throw errors on new indices when they are used. However these errors
are currently only thrown for pre-configured filters, adding them as custom
filters doesn't trigger the warning and error. This change adds the appropriate
deprecation warnings for nGram and edgeNGram respectively on version 7
indices.

Relates #50360

The camel-case `nGram` and `edgeNGram` filter names were deprecated in 6. We
currently throw errors on new indices when they are used. However these errors
are currently only thrown for pre-configured filters, adding them as custom
filters doesn't trigger the warning and error. This change adds the appropriate
deprecation warnings for `nGram` and `edgeNGram` respectively on version 7
indices.

Relates elastic#50360
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search (:Search/Analysis)

@cbuescher
Copy link
Copy Markdown
Member Author

@elasticmachine run elasticsearch-ci/1

@cbuescher cbuescher merged commit 6258d25 into elastic:7.x Dec 20, 2019
@cbuescher cbuescher deleted the backport-50376 branch November 27, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants