From ba40f182769e4b860526b5f5190b62790127e707 Mon Sep 17 00:00:00 2001 From: medcl Date: Mon, 7 Oct 2019 19:03:57 +0800 Subject: [PATCH] update to 7.4.0 --- pom.xml | 2 +- .../index/analysis/PinyinAbbreviationsTokenizerFactory.java | 2 +- .../elasticsearch/index/analysis/PinyinTokenizerFactory.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index f9afe94..91f5284 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ 2012 - 7.0.0 + 7.4.0 1.8 ${project.basedir}/src/main/assemblies/plugin.xml analysis-pinyin diff --git a/src/main/java/org/elasticsearch/index/analysis/PinyinAbbreviationsTokenizerFactory.java b/src/main/java/org/elasticsearch/index/analysis/PinyinAbbreviationsTokenizerFactory.java index 3a377b8..bcf072d 100644 --- a/src/main/java/org/elasticsearch/index/analysis/PinyinAbbreviationsTokenizerFactory.java +++ b/src/main/java/org/elasticsearch/index/analysis/PinyinAbbreviationsTokenizerFactory.java @@ -9,7 +9,7 @@ public class PinyinAbbreviationsTokenizerFactory extends AbstractTokenizerFactory { public PinyinAbbreviationsTokenizerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) { - super(indexSettings, settings); + super(indexSettings, settings, name); } @Override diff --git a/src/main/java/org/elasticsearch/index/analysis/PinyinTokenizerFactory.java b/src/main/java/org/elasticsearch/index/analysis/PinyinTokenizerFactory.java index 86a74cc..57a876f 100644 --- a/src/main/java/org/elasticsearch/index/analysis/PinyinTokenizerFactory.java +++ b/src/main/java/org/elasticsearch/index/analysis/PinyinTokenizerFactory.java @@ -11,7 +11,7 @@ public class PinyinTokenizerFactory extends AbstractTokenizerFactory { private PinyinConfig config; public PinyinTokenizerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) { - super(indexSettings, settings); + super(indexSettings, settings, name); config=new PinyinConfig(settings); }