From da04b53de879c71d2b384f53c3af6da58dd03d77 Mon Sep 17 00:00:00 2001 From: Curu Wong Date: Tue, 28 Jun 2016 22:22:23 +0800 Subject: [PATCH 1/2] 1. update to elasticsearch-2.3.3 2. add security policy file --- pom.xml | 6 +++--- src/main/assemblies/plugin.xml | 7 ++++++- src/main/resources/plugin-security.policy | 4 ++++ 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/plugin-security.policy diff --git a/pom.xml b/pom.xml index f9fbd78..7999c73 100755 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 com.infinitbyte elasticsearch-analysis-string2int - 1.4.1 + 1.4.23 jar 2012 http://log.medcl.net @@ -32,7 +32,7 @@ - 2.2.1 + 2.3.3 1.7 ${project.basedir}/src/main/assemblies/plugin.xml analysis-string2int @@ -185,4 +185,4 @@ - \ No newline at end of file + diff --git a/src/main/assemblies/plugin.xml b/src/main/assemblies/plugin.xml index ef7895f..fed2fd9 100755 --- a/src/main/assemblies/plugin.xml +++ b/src/main/assemblies/plugin.xml @@ -11,6 +11,11 @@ true + + ${project.basedir}/src/main/resources/plugin-security.policy + + true + @@ -27,4 +32,4 @@ provided - \ No newline at end of file + diff --git a/src/main/resources/plugin-security.policy b/src/main/resources/plugin-security.policy new file mode 100644 index 0000000..10a22b1 --- /dev/null +++ b/src/main/resources/plugin-security.policy @@ -0,0 +1,4 @@ +grant { + permission java.lang.RuntimePermission "*"; + permission java.lang.reflect.ReflectPermission "*"; +}; From c5c5654330d7369a096f786cd745da3d9ecb7b88 Mon Sep 17 00:00:00 2001 From: Curu Wong Date: Wed, 29 Jun 2016 10:21:10 +0800 Subject: [PATCH 2/2] update plugin version to 1.5.3 --- README.md | 4 +++- pom.xml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3342d85..a7cac0a 100755 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ String2Integer Analysis for Elasticsearch -------------------------------------------------- | String2Integer Analysis Plugin| Elasticsearch | -------------------------------------------------- + | 1.5.3 | 2.3.3 | + -------------------------------------------------- | 1.4.1 | 2.2.1 | -------------------------------------------------- | 1.3.0 | 1.0.0 | @@ -148,4 +150,4 @@ index: type: custom tokenizer: whitespace filter: [my_string2int,lowercase] - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index 7999c73..09c0fd5 100755 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 com.infinitbyte elasticsearch-analysis-string2int - 1.4.23 + 1.5.3 jar 2012 http://log.medcl.net