Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

Commit f2c42a2

Browse files
committed
Update to Elasticsearch 8.0.0-alpha2
1 parent b31dee0 commit f2c42a2

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Note that Elasticsearch has native support for langdetection nowadays using the
1010

1111
| ES | Command |
1212
| ----- | ------- |
13+
| 8.0.0-alpha2 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/8.0.0-alpha2.1/ingest-langdetect-8.0.0-alpha2.1.zip` |
1314
| 7.14.2 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/7.14.2.1/ingest-langdetect-7.14.2.1.zip` |
1415
| 7.14.1 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/7.14.1.1/ingest-langdetect-7.14.1.1.zip` |
1516
| 7.14.0 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/7.14.0.1/ingest-langdetect-7.14.0.1.zip` |

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ esplugin {
4040
noticeFile = rootProject.file('NOTICE.txt')
4141
}
4242

43+
// remove me after alpha-2 release
44+
configurations {
45+
resolveableCompileOnly {
46+
exclude(group: 'org.elasticsearch', module: 'elasticsearch-lz4')
47+
}
48+
implementation {
49+
exclude(group: 'org.elasticsearch', module: 'elasticsearch-lz4')
50+
}
51+
}
52+
4353
// In this section you declare the dependencies for your production and test code
4454
dependencies {
4555
implementation 'com.youcruit.com.cybozu.labs:langdetect:1.1.2-20151117'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
elasticsearchVersion = 7.14.2
1+
elasticsearchVersion = 8.0.0-alpha2

src/yamlRestTest/resources/rest-api-spec/test/ingest-langdetect/20_langdetect_processor.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@
2020
- do:
2121
index:
2222
index: test
23-
type: test
2423
id: 1
2524
pipeline: "my_pipeline"
2625
body: { field1: "This is hopefully an english text" }
2726

2827
- do:
2928
get:
3029
index: test
31-
type: test
3230
id: 1
3331
- match: { _source.field1: "This is hopefully an english text" }
3432
- match: { _source.field1_language: "en" }

0 commit comments

Comments
 (0)