|
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.io.FileSystemUtils;
|
28 | 23 | import org.elasticsearch.common.settings.Setting;
|
29 | 24 | import org.elasticsearch.common.settings.Setting.Property;
|
30 | 25 | import org.elasticsearch.common.settings.Settings;
|
| 26 | +import org.elasticsearch.core.Tuple; |
31 | 27 | import org.elasticsearch.index.IndexModule;
|
| 28 | +import org.elasticsearch.jdk.JarHell; |
32 | 29 | import org.elasticsearch.node.ReportingService;
|
33 | 30 | import org.elasticsearch.threadpool.ExecutorBuilder;
|
34 | 31 |
|
@@ -675,10 +672,6 @@ static void reloadLuceneSPI(ClassLoader loader) {
|
675 | 672 | PostingsFormat.reloadPostingsFormats(loader);
|
676 | 673 | DocValuesFormat.reloadDocValuesFormats(loader);
|
677 | 674 | Codec.reloadCodecs(loader);
|
678 |
| - // Analysis: |
679 |
| - CharFilterFactory.reloadCharFilters(loader); |
680 |
| - TokenFilterFactory.reloadTokenFilters(loader); |
681 |
| - TokenizerFactory.reloadTokenizers(loader); |
682 | 675 | }
|
683 | 676 |
|
684 | 677 | private Class<? extends Plugin> loadPluginClass(String className, ClassLoader loader) {
|
|
0 commit comments