|
|
@@ -10,9 +10,6 @@ package org.elasticsearch.plugins;
|
|
|
|
|
|
import org.apache.logging.log4j.LogManager;
|
|
|
import org.apache.logging.log4j.Logger;
|
|
|
-import org.apache.lucene.analysis.util.CharFilterFactory;
|
|
|
-import org.apache.lucene.analysis.util.TokenFilterFactory;
|
|
|
-import org.apache.lucene.analysis.util.TokenizerFactory;
|
|
|
import org.apache.lucene.codecs.Codec;
|
|
|
import org.apache.lucene.codecs.DocValuesFormat;
|
|
|
import org.apache.lucene.codecs.PostingsFormat;
|
|
|
@@ -21,14 +18,14 @@ import org.elasticsearch.Build;
|
|
|
import org.elasticsearch.ElasticsearchException;
|
|
|
import org.elasticsearch.Version;
|
|
|
import org.elasticsearch.action.admin.cluster.node.info.PluginsAndModules;
|
|
|
-import org.elasticsearch.jdk.JarHell;
|
|
|
import org.elasticsearch.common.Strings;
|
|
|
-import org.elasticsearch.core.Tuple;
|
|
|
import org.elasticsearch.common.io.FileSystemUtils;
|
|
|
import org.elasticsearch.common.settings.Setting;
|
|
|
import org.elasticsearch.common.settings.Setting.Property;
|
|
|
import org.elasticsearch.common.settings.Settings;
|
|
|
+import org.elasticsearch.core.Tuple;
|
|
|
import org.elasticsearch.index.IndexModule;
|
|
|
+import org.elasticsearch.jdk.JarHell;
|
|
|
import org.elasticsearch.node.ReportingService;
|
|
|
import org.elasticsearch.threadpool.ExecutorBuilder;
|
|
|
|
|
|
@@ -675,10 +672,6 @@ public class PluginsService implements ReportingService<PluginsAndModules> {
|
|
|
PostingsFormat.reloadPostingsFormats(loader);
|
|
|
DocValuesFormat.reloadDocValuesFormats(loader);
|
|
|
Codec.reloadCodecs(loader);
|
|
|
- // Analysis:
|
|
|
- CharFilterFactory.reloadCharFilters(loader);
|
|
|
- TokenFilterFactory.reloadTokenFilters(loader);
|
|
|
- TokenizerFactory.reloadTokenizers(loader);
|
|
|
}
|
|
|
|
|
|
private Class<? extends Plugin> loadPluginClass(String className, ClassLoader loader) {
|