v6.8.20 源码和jar包对不上
jiangyunpeng opened this issue · 0 comments
jiangyunpeng commented
我检查发现v6.8.20 源码和jar包对不上
源码:
public class PinyinTokenizerFactory extends AbstractTokenizerFactory {
private PinyinConfig config;
public PinyinTokenizerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
super(indexSettings, settings, name);
config=new PinyinConfig(settings);
}
@Override
public Tokenizer create() {
return new PinyinTokenizer(config);
}
}
jar包反编译之后:
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* org.apache.lucene.analysis.Tokenizer
* org.elasticsearch.common.settings.Settings
* org.elasticsearch.env.Environment
* org.elasticsearch.index.IndexSettings
* org.elasticsearch.index.analysis.AbstractTokenizerFactory
*/
public class PinyinTokenizerFactory
extends AbstractTokenizerFactory {
private PinyinConfig config;
public PinyinTokenizerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
super(indexSettings, name, settings);
this.config = new PinyinConfig(settings);
}
public Tokenizer create() {
return new PinyinTokenizer(this.config);
}
}