|
10 | 10 |
|
11 | 11 | import org.apache.logging.log4j.LogManager;
|
12 | 12 | import org.apache.logging.log4j.Logger;
|
13 |
| -import org.apache.lucene.analysis.util.CharFilterFactory; |
14 |
| -import org.apache.lucene.analysis.util.TokenFilterFactory; |
15 |
| -import org.apache.lucene.analysis.util.TokenizerFactory; |
16 | 13 | import org.apache.lucene.codecs.Codec;
|
17 | 14 | import org.apache.lucene.codecs.DocValuesFormat;
|
18 | 15 | import org.apache.lucene.codecs.PostingsFormat;
|
|
21 | 18 | import org.elasticsearch.ElasticsearchException;
|
22 | 19 | import org.elasticsearch.Version;
|
23 | 20 | import org.elasticsearch.action.admin.cluster.node.info.PluginsAndModules;
|
24 |
| -import org.elasticsearch.jdk.JarHell; |
25 | 21 | import org.elasticsearch.common.Strings;
|
26 |
| -import org.elasticsearch.core.Tuple; |
27 | 22 | import org.elasticsearch.common.component.LifecycleComponent;
|
28 | 23 | import org.elasticsearch.common.inject.Module;
|
29 | 24 | import org.elasticsearch.common.io.FileSystemUtils;
|
30 | 25 | import org.elasticsearch.common.settings.Setting;
|
31 | 26 | import org.elasticsearch.common.settings.Setting.Property;
|
32 | 27 | import org.elasticsearch.common.settings.Settings;
|
| 28 | +import org.elasticsearch.core.Tuple; |
33 | 29 | import org.elasticsearch.index.IndexModule;
|
| 30 | +import org.elasticsearch.jdk.JarHell; |
34 | 31 | import org.elasticsearch.node.ReportingService;
|
35 | 32 | import org.elasticsearch.threadpool.ExecutorBuilder;
|
36 | 33 | import org.elasticsearch.transport.TransportSettings;
|
@@ -715,10 +712,6 @@ static void reloadLuceneSPI(ClassLoader loader) {
|
715 | 712 | PostingsFormat.reloadPostingsFormats(loader);
|
716 | 713 | DocValuesFormat.reloadDocValuesFormats(loader);
|
717 | 714 | Codec.reloadCodecs(loader);
|
718 |
| - // Analysis: |
719 |
| - CharFilterFactory.reloadCharFilters(loader); |
720 |
| - TokenFilterFactory.reloadTokenFilters(loader); |
721 |
| - TokenizerFactory.reloadTokenizers(loader); |
722 | 715 | }
|
723 | 716 |
|
724 | 717 | private Class<? extends Plugin> loadPluginClass(String className, ClassLoader loader) {
|
|
0 commit comments