Skip to content

Add support for Elastic Stack 8.x (8.2) - #1403

Merged
dadoonet merged 20 commits into
masterfrom
es-80
May 10, 2022
Merged

Add support for Elastic Stack 8.x (8.2)#1403
dadoonet merged 20 commits into
masterfrom
es-80

Conversation

@dadoonet

Copy link
Copy Markdown
Owner

This PR adds support for Elastic Stack version 8.x.

TODO:

* Enterprise search docker-compose should start
* Test manually with real SSL settings
* Add support for own made certificates
* check with ES 6, ES 7 (mapping changes)
* Update the pom.xml to have IT against 8.0 running
* Update Github actions to run against 8.0
This commit depends on scravy/waitfor-maven-plugin#11 and scravy/waitfor-maven-plugin#10 to be merged and `waitfor-maven-plugin` 1.4 to be released.
@dadoonet dadoonet added the new For new features or options label Mar 18, 2022
@dadoonet dadoonet added this to the 2.10 milestone Mar 18, 2022
@dadoonet dadoonet self-assigned this Mar 18, 2022
@dadoonet

Copy link
Copy Markdown
Owner Author

@dadoonet

Copy link
Copy Markdown
Owner Author

@iadcode I'm getting an error with #1367 when running the full test suite against this new branch.
But when I'm running the test alone, it works well.

Does the following rings a bell?

Here is the difference.

Full test suite

The indexed documents are:

{"content":"\nThis is an example of HTML\n\n\n\nThis is a separate line\n\n","meta":{"title":"Test Tika title"},"file":{"extension":"html","content_type":"text/html; charset=windows-1252","created":"2022-03-24T14:48:29.000+00:00","last_modified":"2022-03-24T14:48:29.097+00:00","last_accessed":"2022-03-24T14:48:29.097+00:00","indexing_date":"2022-03-24T14:48:29.600+00:00","filesize":267,"filename":"test.html","url":"file:///var/folders/xn/47mdpxd12vq4zrjhkwbhd5_r0000gn/T/junit14808081312308793515/resources/test_tika_config_path/test.html"},"path":{"root":"3fc365ceeaaae42ef5be71d0953bd7","virtual":"/test.html","real":"/var/folders/xn/47mdpxd12vq4zrjhkwbhd5_r0000gn/T/junit14808081312308793515/resources/test_tika_config_path/test.html"}}

Single test

The indexed documents are:

{"content":"<html\r\n    xmlns:o=\"urn:schemas-microsoft-com:office:office\"\r\n    xmlns=\"http://www.w3.org/TR/REC-html40\">\r\n\r\n<head>\r\n  <title>Test Tika title</title>\r\n</head>\r\n\r\n<body>\r\n<p>This is an example of HTML</p>\r\n<div />\r\n<p>This is a separate line</p>\r\n</body>\r\n\r\n</html>\r\n\n","file":{"extension":"html","content_type":"text/html; charset=windows-1252","created":"2022-03-24T15:51:43.000+00:00","last_modified":"2022-03-24T15:51:43.834+00:00","last_accessed":"2022-03-24T15:51:43.834+00:00","indexing_date":"2022-03-24T15:51:45.225+00:00","filesize":267,"filename":"test.html","url":"file:///var/folders/xn/47mdpxd12vq4zrjhkwbhd5_r0000gn/T/junit7859439324668534652/resources/test_tika_config_path/test.html"},"path":{"root":"13129d46eef382c481c5e1a9538499","virtual":"/test.html","real":"/var/folders/xn/47mdpxd12vq4zrjhkwbhd5_r0000gn/T/junit7859439324668534652/resources/test_tika_config_path/test.html"}}

dependabot Bot and others added 3 commits May 3, 2022 04:11
Bumps `tika.version` from 2.2.1 to 2.4.0.

Updates `tika-core` from 2.2.1 to 2.4.0
- [Release notes](https://github.com/apache/tika/releases)
- [Changelog](https://github.com/apache/tika/blob/main/CHANGES.txt)
- [Commits](apache/tika@2.2.1...2.4.0)

Updates `tika-parsers-standard-package` from 2.2.1 to 2.4.0

Updates `tika-parser-scientific-module` from 2.2.1 to 2.4.0

Updates `tika-parser-sqlite3-module` from 2.2.1 to 2.4.0

Updates `tika-langdetect-optimaize` from 2.2.1 to 2.4.0

---
updated-dependencies:
- dependency-name: org.apache.tika:tika-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.tika:tika-parsers-standard-package
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.tika:tika-parser-scientific-module
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.tika:tika-parser-sqlite3-module
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.tika:tika-langdetect-optimaize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Closes #1419
Closes #1407
Closes #1406
Closes #1405
@dadoonet
dadoonet marked this pull request as ready for review May 9, 2022 09:01
@dadoonet dadoonet changed the title Add support for Elastic Stack 8.x (8.1) Add support for Elastic Stack 8.x (8.2) May 10, 2022
@dadoonet
dadoonet merged commit be99730 into master May 10, 2022
@dadoonet
dadoonet deleted the es-80 branch May 10, 2022 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new For new features or options

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant