From 2d823df1fb6739594eec9bc5a10429b9b15e169d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=80=80=E9=A3=9E?= Date: Thu, 1 Jun 2023 17:25:03 +0800 Subject: [PATCH] version 0.3.0 support elasticsearch 8.3 ~ 8.7 --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 2 +- README.md | 7 +++++-- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- .../elasticsearch/index/IctclasAnalyzerProvider.java | 2 +- .../com/lingjoin/elasticsearch/index/IctclasTokenizer.java | 1 + 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 203d4b0..f934972 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: needs: release-create strategy: matrix: - elasticsearch-version: [ 8.2.3, 8.2.2, 8.2.1, 8.2.0, 8.1.3, 7.17.3, 7.16.3, 7.15.2, 7.14.2 ] + elasticsearch-version: [ 8.7.1, 8.6.2, 8.5.3, 8.4.3, 8.3.3 ] runs-on: ubuntu-latest steps: - id: get_version diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7253441..40d6454 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - elasticsearch-version: [ 8.2.3, 8.2.0 , 8.1.3, 7.17.3, 7.16.3, 7.15.2, 7.14.2] + elasticsearch-version: [ 8.7.1, 8.6.2, 8.5.3, 8.4.3, 8.3.3 ] name: Test runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 5f0b224..ffc91e4 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,17 @@ An analysis plugin for Elasticsearch by using ICTCLAS/NLPIR Analyzer: `ictclas_search`, `ictclas_index` -Supported version: 8.2.0 ~ 7.14.2 +Supported version: + +- 0.2.x: 8.2.0 ~ 7.14.2 +- 0.3.x: 8.3.0 ~ 8.7.1 # Build ## 1. make config file `gradle.properties` ``` properties - elasticsearchVersion = 7.15.2 + elasticsearchVersion = 8.7.1 ``` ## 2. build diff --git a/build.gradle b/build.gradle index 68c594e..0efb0bd 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ esplugin { } group 'com.lingjoin' -version '0.2.6' +version '0.3.0' java { withSourcesJar() diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index aa991fc..ae04661 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/java/com/lingjoin/elasticsearch/index/IctclasAnalyzerProvider.java b/src/main/java/com/lingjoin/elasticsearch/index/IctclasAnalyzerProvider.java index d528ac7..deedaa8 100644 --- a/src/main/java/com/lingjoin/elasticsearch/index/IctclasAnalyzerProvider.java +++ b/src/main/java/com/lingjoin/elasticsearch/index/IctclasAnalyzerProvider.java @@ -22,7 +22,7 @@ public class IctclasAnalyzerProvider extends AbstractIndexAnalyzerProvider