-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Deprecates the standard filter #33468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This change deprecates the noop standard filter. It is already removed in 7 but the deprecation was missing.
|
Pinging @elastic/es-search-aggs |
cbuescher
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change itself looks great, I found several mentions of the standard tokenizer in the docs though that might need to be changed or adapted to account for the warnings that are added here. e.g. I think "reference/analysis/tokenfilters/standard-tokenfilter.asciidoc" could get a note saying this is deprecated in removed already in 7.0. I'll grep a little bit to see if I can find other occurances.
| .put("soranistem", MovedToAnalysisCommon.class) | ||
| .put("spanishlightstem", MovedToAnalysisCommon.class) | ||
| .put("standard", StandardTokenFilterFactory.class) | ||
| .put("standard", Void.class) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: according to the classes comment there is a Deprecated.class that could be used here. Doesn't change anything in the end I guess.
|
These are some other docs files that I think might contain references to the standard filter. I think they can stay as they are, but probably it also wouldn't hurt removing the filter since it does nothing:
|
…tion note in the docs
cbuescher
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks @cbuescher |
This change deprecates the noop standard filter. It is already removed in 7 but
the deprecation was missing.