Skip to content

Commit

Permalink
2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tazdingooo committed May 22, 2024
1 parent bc572ee commit 0f24e8e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# opensearch-analysis-hanlp
HanLP Analyzer for OpenSearch

This is OpenSearch 2.11.0 port of [hanlp language analyser plugin](https://github.com/KennFalcon/elasticsearch-analysis-hanlp)
This is OpenSearch 2.10.0 port of [hanlp language analyser plugin](https://github.com/KennFalcon/elasticsearch-analysis-hanlp)

This branch ([2.11.0-vanilla](https://github.com/pgtgrly/opensearch-analysis-hanlp/tree/2.11.0-vanilla)) contains minimal changes to the plugin code to build plugin for OpenSearch 2.11.0.it

Expand Down
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ buildscript {
}
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

group = 'org.opensearch.plugin'
Expand All @@ -24,7 +23,6 @@ apply plugin: 'opensearch.opensearchplugin'

loggerUsageCheck.enabled = false
validateNebulaPom.enabled = false
validateShadowPom.enabled = false

opensearchplugin {
name 'opensearch-analysis-hanlp'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
opensearchVersion = 2.11.0
opensearchVersion = 2.10.0
1 change: 1 addition & 0 deletions src/main/plugin-metadata/plugin-security.policy
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
grant {
// HanLP data directories
permission java.io.FilePermission "<<ALL FILES>>", "read";
permission java.io.FilePermission "plugins/analysis-hanlp/data/-", "read,write,delete";
permission java.io.FilePermission "plugins/analysis-hanlp/hanlp.cache", "read,write,delete";

Expand Down

0 comments on commit 0f24e8e

Please sign in to comment.