Skip to content

Commit 656aabc

Browse files
committed
Update to Elasticsearch 8.4.0
1 parent 7f8cf95 commit 656aabc

File tree

5 files changed

+5
-11
lines changed

5 files changed

+5
-11
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.elastic.co/elasticsearch/elasticsearch:8.3.3
1+
FROM docker.elastic.co/elasticsearch/elasticsearch:8.4.0
22

33
ADD ./src/test/resources/models/en-ner-persons.bin /usr/share/elasticsearch/config/ingest-opennlp/
44
ADD ./src/test/resources/models/en-ner-locations.bin /usr/share/elasticsearch/config/ingest-opennlp/

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This plugin is also intended to show you, that using gradle as a build system ma
1010

1111
| ES | Command |
1212
| ----- | ------- |
13+
| 8.4.0 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/8.4.0.1/ingest-opennlp-8.4.0.1.zip` |
1314
| 8.3.3 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/8.3.3.1/ingest-opennlp-8.3.3.1.zip` |
1415
| 8.3.2 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/8.3.2.1/ingest-opennlp-8.3.2.1.zip` |
1516
| 8.3.1 | `bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/8.3.1.1/ingest-opennlp-8.3.1.1.zip` |

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
elasticsearchVersion = 8.3.3
1+
elasticsearchVersion = 8.4.0

src/main/resources/plugin-descriptor.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
type=isolated
21
name=ingest-opennlp
32
version=@version@
43
elasticsearch.version=@elasticsearchVersion@

src/test/java/de/spinscale/elasticsearch/ingest/opennlp/OpenNlpProcessorTests.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,7 @@
3131
import org.junit.jupiter.api.Test;
3232

3333
import java.nio.file.Path;
34-
import java.util.Arrays;
35-
import java.util.Collections;
36-
import java.util.HashMap;
37-
import java.util.HashSet;
38-
import java.util.List;
39-
import java.util.Map;
34+
import java.util.*;
4035

4136
import static org.assertj.core.api.Assertions.assertThat;
4237

@@ -168,8 +163,7 @@ private IngestDocument getIngestDocument() throws Exception {
168163
private IngestDocument getIngestDocument(String content) throws Exception {
169164
Map<String, Object> document = new HashMap<>();
170165
document.put("source_field", content);
171-
// public IngestDocument(String index, String id, String routing, Long version, VersionType versionType, Map<String, Object> source) {
172-
return new IngestDocument("my-index", "my-id", null, 1L, VersionType.INTERNAL, document);
166+
return new IngestDocument("my-index", "my-id", 1L, null, VersionType.INTERNAL, document);
173167
}
174168

175169
private Map<String, Object> getIngestDocumentData(IngestDocument ingestDocument) throws Exception {

0 commit comments

Comments
 (0)