Skip to content

Commit 510f657

Browse files
Update plugin to ES 5.6.6
1 parent a4bdaa5 commit 510f657

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

esplugin/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The plugin version must match your Elasticsearch version.
1111
```
1212
bin/elasticsearch-plugin install URL
1313
14-
# For 5.5.0:
15-
bin/elasticsearch-plugin install https://github.com/jolicode/emoji-search/releases/download/5.5.0/analysis-emoji-5.5.0.zip
14+
# For 5.6.6:
15+
bin/elasticsearch-plugin install https://github.com/jolicode/emoji-search/releases/download/5.6.6/analysis-emoji-5.6.6.zip
1616
```
1717

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

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

101-
## How to contribute
102+
## How to contribute / build
103+
104+
Building an Elasticsearch plugin is a mess and a pain. Here are some tips:
105+
106+
- follow [this example](https://github.com/spinscale/cookiecutter-elasticsearch-ingest-processor), it's better than the non existing documentation;
107+
- install Gradle on your system, make sure you know how to switch to multiple versions;
102108

103109
Run the tests:
104110

@@ -109,5 +115,6 @@ gradle clean check
109115
Package for release:
110116

111117
```
118+
gradle updateSHAs
112119
gradle clean check assemble
113120
```

esplugin/build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,20 @@ buildscript {
88
jcenter()
99
}
1010
dependencies {
11-
classpath "org.elasticsearch.gradle:build-tools:5.5.0"
11+
classpath "org.elasticsearch.gradle:build-tools:5.6.6"
1212
}
1313
}
1414

1515
group = 'org.elasticsearch.plugin'
16-
version = '5.5.0'
16+
version = '5.6.6'
1717

1818
apply plugin: 'java'
1919
apply plugin: 'elasticsearch.esplugin'
2020
apply plugin: 'idea'
2121

22+
// this is temporal and will be fixed in 6.0
23+
ext.projectSubstitutions = [:]
24+
2225
esplugin {
2326
name 'analysis-emoji'
2427
description 'Add support for emoji in Elasticsearch'
@@ -42,7 +45,10 @@ licenseHeaders.enabled = false
4245
checkstyleTest.enabled = true
4346

4447
// FIXME dependency license check needs to be enabled
48+
licenseFile = rootProject.file('../LICENSE')
49+
noticeFile = rootProject.file('README.md')
4550
dependencyLicenses.enabled = false
4651

4752
// FIXME thirdparty audit needs to be enabled
4853
thirdPartyAudit.enabled = false
54+

0 commit comments

Comments
 (0)