core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Upgrade to ElasticSearch 8.14 client doesn't work with previous versions of Elasticsearch server 8.X or 7.X

Open josegar74 opened this issue 6 months ago • 0 comments

Describe the bug

After the upgrade to Elasticsearch 8.14 client in https://github.com/geonetwork/core-geonetwork/pull/8161, the application doesn't work with previous versions of Elasticsearch server 8.X or 7.X as with the previous client version.

Probably needs some update the records.json for the fields definition. But it's unclear yet.

Until this issue is fixed to work fine or reverted the client version to the previous version, 4.4.6 can't be released.

To Reproduce Steps to reproduce the behavior:

  1. Start ElasticSearch 8.13
  2. Start GeoNetwork main branch
  3. Login as administrator and try to load the sample metadata
  4. See error in the application log

Expected behavior It works fine with previous versions of Elasticsearch server 8.X or 7.X as with the previous client version.

josegar74 avatar Aug 22 '24 06:08 josegar74