Skip to content

Commit

Permalink
Remove unused method Analysis#isNoStopwords.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani committed Nov 18, 2020
1 parent a8d3053 commit 5495032
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ public static Version parseAnalysisVersion(Settings indexSettings, Settings sett
return org.elasticsearch.Version.indexCreated(indexSettings).luceneVersion;
}

public static boolean isNoStopwords(Settings settings) {
String value = settings.get("stopwords");
return value != null && "_none_".equals(value);
}

public static CharArraySet parseStemExclusion(Settings settings, CharArraySet defaultStemExclusion) {
String value = settings.get("stem_exclusion");
if ("_none_".equals(value)) {
Expand Down

0 comments on commit 5495032

Please sign in to comment.