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

Commit

Permalink
Update to Elasticsearch 8.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
spinscale committed Mar 24, 2022
1 parent 679c660 commit 20ba0bc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:8.1.0
FROM docker.elastic.co/elasticsearch/elasticsearch:8.1.1

ADD build/distribution/elasticsearch-ingest-langdetect.zip /elasticsearch-ingest-langdetect.zip
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch file:///elasticsearch-ingest-langdetect.zip
EXPOSE 9200
EXPOSE 9200
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Note that Elasticsearch has native support for langdetection nowadays using the

| ES | Command |
| ----- | ------- |
| 8.1.1 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/8.1.1.1/ingest-langdetect-8.1.1.1.zip` |
| 8.1.0 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/8.1.0.1/ingest-langdetect-8.1.0.1.zip` |
| 8.0.1 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/8.0.1.1/ingest-langdetect-8.0.1.1.zip` |
| 8.0.0 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/8.0.0.1/ingest-langdetect-8.0.0.1.zip` |
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ githubRelease.doFirst {
}
}

githubRelease.dependsOn 'packageDistribution'

dependencies {
def junitVersion = '5.8.2'

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
elasticsearchVersion = 8.1.0
elasticsearchVersion = 8.1.1
org.gradle.jvmargs=-Xmx4g
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void testLangDetectPlugin() throws Exception {
container.addEnv("discovery.type", "single-node");
container.withEnv("ELASTIC_PASSWORD", "changeme");
container.withEnv("xpack.security.enabled", "true");
container.withEnv("ES_JAVA_OPTS", "-Xms3g -Xmx3g");
container.withEnv("ES_JAVA_OPTS", "-Xms4g -Xmx4g");
container.addExposedPorts(9200);
container.setWaitStrategy(new LogMessageWaitStrategy().withRegEx(".*(\"message\":\\s?\"started\".*|] started\n$)"));

Expand Down

0 comments on commit 20ba0bc

Please sign in to comment.