Actually, XFES works with ElasticSearch 2.x and above.Thank you for the kind words about OpenSearch.
This and similar issues are tracked in https://github.com/opensearch-project/OpenSearch/issues/693. Please take a look and comment on https://github.com/opensearch-project/OpenSearch/pull/814 that attempts at resolving it. Generally, we are doing our best to keep OpenSearch 1.0 backwards compatible with ES 7.10.2, see https://opensearch.org/faq/#c3. If you find any issue like this one where a xfes does not work against OpenSearch 1.0, please take the time to report it and we'll do our best to fix!
Moving past 1.0, XFES can check the "distribution" field in this response and do OpenSearch-compatible version checks if it wants to.
I would double check that XFES is not doing something based on that version number - in other plugins we see checks that say "if version is <= 6 do X, otherwise if version <= 7 do Y", so 1.0 becomes 6 and that's not good cause it's compatible with 7.
1.0.0-SNAPSHOT
has major version 1, which is less than 2, so the check fails.I hope that OpenSearch can do better in this criteria.I know a couple of my XF add-ons do that. Part of the reason is ElasticSearch is a something of a compatibility mess if you want to support 2.x - 7.x.
Thankfully they've gotten a lot better about breaking backwards compatibility changes in point release updates, but they still don't have the best track record.
We use essential cookies to make this site work, and optional cookies to enhance your experience.