Open hellracer opened 4 years ago
@hellracer In src/main/java/com/bellszhu/elasticsearch/plugin/synonym/analysis/DynamicSynonymTokenFilterFactory.java, you can just modify line 147 to support with Elasticsearch 7.5.0, like below:
return new CustomAnalyzer(tokenizer, charFilters.toArray(new CharFilterFactory[0])
{ return new CustomAnalyzer( tokenizer, charFilters.toArray(new CharFilterFactory[0]), tokenFilters.stream().map(TokenFilterFactory::getSynonymFilter).toArray(TokenFilterFactory[]::new) ); }
大佬 可以具体说一下在哪里更改吗?
Hi,
May i ask any chance that this could be compatible with ES 7.5.0?