Skip to content

Commit

Permalink
Upgrade ICU and Elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
damienalexandre committed Jan 22, 2017
1 parent f2e79ce commit 1bd94a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions esplugin/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Elasticsearch analysis-emoji plugin

This plugin create a new Tokenizer called `emoji_tokenizer` based on `icu_tokenizer` and the latest (58.1) ICU data.
This plugin create a new Tokenizer called `emoji_tokenizer` based on `icu_tokenizer` and the latest (58.2) ICU data.

## Installation

Expand All @@ -11,18 +11,21 @@ The plugin version must match your Elasticsearch version.
```
bin/elasticsearch-plugin install URL
# For 5.0.0:
bin/elasticsearch-plugin install https://github.com/jolicode/emoji-search/releases/download/5.0.0/analysis-emoji-5.0.0.zip
# For 5.1.2:
bin/elasticsearch-plugin install https://github.com/jolicode/emoji-search/releases/download/5.1.2/analysis-emoji-5.1.2.zip
```

## Versions

ICU is always up to date to the latest data in this plugin, so upgrading may require you to re-index your data.

analysis-emoji version and ES version | Install URL
-----------|-----------
5.1.2 (ICU 58.2) | https://github.com/jolicode/emoji-search/releases/download/5.1.2/analysis-emoji-5.1.2.zip
5.1.1 | https://github.com/jolicode/emoji-search/releases/download/5.1.1/analysis-emoji-5.1.1.zip
5.0.2 | https://github.com/jolicode/emoji-search/releases/download/5.0.2/analysis-emoji-5.0.2.zip
5.0.1 | https://github.com/jolicode/emoji-search/releases/download/5.0.1/analysis-emoji-5.0.1.zip
5.0.0 | https://github.com/jolicode/emoji-search/releases/download/5.0.0/analysis-emoji-5.0.0.zip
5.0.0 (ICU 58.1) | https://github.com/jolicode/emoji-search/releases/download/5.0.0/analysis-emoji-5.0.0.zip

## How to use

Expand Down
4 changes: 2 additions & 2 deletions esplugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (GradleVersion.current() != GradleVersion.version('2.13')) {
}

group = 'org.elasticsearch.plugin'
version = '5.1.1'
version = '5.1.2'

apply plugin: 'java'
apply plugin: 'elasticsearch.esplugin'
Expand All @@ -32,7 +32,7 @@ esplugin {
dependencies {
compile "org.elasticsearch:elasticsearch:${versions.elasticsearch}"
compile "org.apache.lucene:lucene-analyzers-icu:${versions.lucene}"
compile 'com.ibm.icu:icu4j:58.1'
compile 'com.ibm.icu:icu4j:58.2'
testCompile "org.elasticsearch.test:framework:${versions.elasticsearch}"
}

Expand Down

0 comments on commit 1bd94a4

Please sign in to comment.