Skip to content

Commit

Permalink
Update plugin to ES 5.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
damienalexandre committed Jan 19, 2018
1 parent a4bdaa5 commit 510f657
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
13 changes: 10 additions & 3 deletions esplugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ The plugin version must match your Elasticsearch version.
```
bin/elasticsearch-plugin install URL
# For 5.5.0:
bin/elasticsearch-plugin install https://github.com/jolicode/emoji-search/releases/download/5.5.0/analysis-emoji-5.5.0.zip
# For 5.6.6:
bin/elasticsearch-plugin install https://github.com/jolicode/emoji-search/releases/download/5.6.6/analysis-emoji-5.6.6.zip
```

## Versions
Expand All @@ -21,6 +21,7 @@ ICU is always up to date to the latest data in this plugin, so upgrading may req

analysis-emoji version and ES version | Install URL
-----------|-----------
5.6.6 | https://github.com/jolicode/emoji-search/releases/download/5.6.6/analysis-emoji-5.6.6.zip
5.5.0 | https://github.com/jolicode/emoji-search/releases/download/5.5.0/analysis-emoji-5.5.0.zip
5.4.3 | https://github.com/jolicode/emoji-search/releases/download/5.4.3/analysis-emoji-5.4.3.zip
5.3.3 (ICU 59.1) | https://github.com/jolicode/emoji-search/releases/download/5.3.3/analysis-emoji-5.3.3.zip
Expand Down Expand Up @@ -98,7 +99,12 @@ GET /en-emoji/_analyze?analyzer=english_with_emoji
# Result: hi mom 😃 face mouth open smile
```

## How to contribute
## How to contribute / build

Building an Elasticsearch plugin is a mess and a pain. Here are some tips:

- follow [this example](https://github.com/spinscale/cookiecutter-elasticsearch-ingest-processor), it's better than the non existing documentation;
- install Gradle on your system, make sure you know how to switch to multiple versions;

Run the tests:

Expand All @@ -109,5 +115,6 @@ gradle clean check
Package for release:

```
gradle updateSHAs
gradle clean check assemble
```
10 changes: 8 additions & 2 deletions esplugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ buildscript {
jcenter()
}
dependencies {
classpath "org.elasticsearch.gradle:build-tools:5.5.0"
classpath "org.elasticsearch.gradle:build-tools:5.6.6"
}
}

group = 'org.elasticsearch.plugin'
version = '5.5.0'
version = '5.6.6'

apply plugin: 'java'
apply plugin: 'elasticsearch.esplugin'
apply plugin: 'idea'

// this is temporal and will be fixed in 6.0
ext.projectSubstitutions = [:]

esplugin {
name 'analysis-emoji'
description 'Add support for emoji in Elasticsearch'
Expand All @@ -42,7 +45,10 @@ licenseHeaders.enabled = false
checkstyleTest.enabled = true

// FIXME dependency license check needs to be enabled
licenseFile = rootProject.file('../LICENSE')
noticeFile = rootProject.file('README.md')
dependencyLicenses.enabled = false

// FIXME thirdparty audit needs to be enabled
thirdPartyAudit.enabled = false

0 comments on commit 510f657

Please sign in to comment.