Remove unused method Analysis#isNoStopwords.
This commit is contained in:
parent
a8d3053128
commit
5495032b00
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue