Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Since the StandardHtmlAnalyzer's functionality is easy to replicate using the HTMLStripCharFilter, so I remove this analyzer.
  • Loading branch information
Shepard1212 committed Mar 23, 2017
1 parent ff15305 commit 041eecc
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@

public class StandardHtmlStripAnalyzer extends StopwordAnalyzerBase {

/**
* @deprecated use {@link StandardHtmlStripAnalyzer#StandardHtmlStripAnalyzer(CharArraySet)} instead
*/
@Deprecated
public StandardHtmlStripAnalyzer() {
super(StopAnalyzer.ENGLISH_STOP_WORDS_SET);
}

public StandardHtmlStripAnalyzer(CharArraySet stopwords) {
super(stopwords);
}

@Override
protected TokenStreamComponents createComponents(final String fieldName) {
final Tokenizer src = new StandardTokenizer();
Expand Down

0 comments on commit 041eecc

Please sign in to comment.