Extension ElasticSearch - Which Elastic Version to use?

Hi,

installed the latest version of the ElasticSearch Extension (FORGEBOX: PresideCMS Extension: ElasticSearch) dated on Jan. 2025.
Also tried the latest version of elastic, which is currently version 9.

But unfortunately some errors occur. I can’t find a hint which Elastic version is recommended. Any advice?

I know that Elastic is changing basically everything in major version, so I think a previous version will work, but which one??

Thanks,
Michi

We’re trying to keep the extension version loosely inline with the ES version. So the latest release of the extension is 6.3.14; should be used with ElasticSearch 6.

As an example, on my sites I am running with ES 6.8.23.

@seb Thanks for this insight. We tried the extension with ES 9 and 8 and ran into an error “No matching method for String.isType() found”.

Michi looked at the Dockerfile and found ENV ES_VERSION 1.7.6 and that version is like 8 or 9 years old, so we figured we’d best ask for advice.

The v1.x.x branch of the ES extension is still also maintained and works with 1.7.6.