Skip to content

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented Sep 6, 2018

This change deprecates the noop standard filter. It is already removed in 7 but
the deprecation was missing.

This change deprecates the noop standard filter. It is already removed in 7 but
the deprecation was missing.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

Copy link
Member

@cbuescher cbuescher left a 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)
Copy link
Member

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.

@cbuescher
Copy link
Member

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:

  • asciifolding-tokenfilter.asciidoc
  • snowball-tokenfilter.asciidoc
  • elision-tokenfilter.asciidoc
  • keep-types-tokenfilter.asciidoc
  • standard-tokenfilter.asciidoc
  • keep-words-tokenfilter.asciidoc
  • stemmer-tokenfilter.asciidoc
  • phrase-suggest.asciidoc

Copy link
Member

@cbuescher cbuescher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jimczi jimczi merged commit 4673e4e into elastic:6.x Sep 7, 2018
@jimczi jimczi deleted the standard_filter_deprecation branch September 7, 2018 09:33
@jimczi
Copy link
Contributor Author

jimczi commented Sep 7, 2018

Thanks @cbuescher

Mpdreamz added a commit to elastic/elasticsearch-net that referenced this pull request Dec 18, 2018
Mpdreamz added a commit to elastic/elasticsearch-net that referenced this pull request Jan 24, 2019
Mpdreamz added a commit to elastic/elasticsearch-net that referenced this pull request Jan 25, 2019
Mpdreamz added a commit to elastic/elasticsearch-net that referenced this pull request Jan 25, 2019
Mpdreamz added a commit to elastic/elasticsearch-net that referenced this pull request Jan 28, 2019
Mpdreamz added a commit to elastic/elasticsearch-net that referenced this pull request Mar 29, 2019
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.

3 participants