Remove unused method Analysis#isNoStopwords.

This commit is contained in:
Julie Tibshirani 2020-11-17 15:51:02 -08:00
parent a8d3053128
commit 5495032b00
1 changed files with 0 additions and 5 deletions

View File

@ -95,11 +95,6 @@ public class Analysis {
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)) {