diff --git a/pom.xml b/pom.xml index f5a45f3..f191389 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.elasticsearch elasticsearch-analysis-vietnamese - 6.5.3 + 7.0.0 jar elasticsearch-analysis-vietnamese https://github.com/duydo/elasticsearch-analysis-vietnamese/ @@ -31,11 +31,7 @@ UTF-8 1.8 - 6.5.3 - + 7.0.0 2.7 @@ -66,14 +62,6 @@ ${elasticsearch.version} test - org.apache.logging.log4j log4j-api diff --git a/src/main/java/org/elasticsearch/index/analysis/VietnameseTokenizerFactory.java b/src/main/java/org/elasticsearch/index/analysis/VietnameseTokenizerFactory.java index 5d9cb86..7dab7e0 100644 --- a/src/main/java/org/elasticsearch/index/analysis/VietnameseTokenizerFactory.java +++ b/src/main/java/org/elasticsearch/index/analysis/VietnameseTokenizerFactory.java @@ -30,7 +30,7 @@ public class VietnameseTokenizerFactory extends AbstractTokenizerFactory { private final me.duydo.vi.Tokenizer tokenizer; public VietnameseTokenizerFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) { - super(indexSettings, name, settings); + super(indexSettings, settings); tokenizer = AccessController.doPrivileged((PrivilegedAction) () -> new me.duydo.vi.Tokenizer()); }