Skip to content

Version 4.0.2

GeoNetwork 4.0.2 release is a minor release but adds a better multilingual support which may require some changes in your installations:

Database migration

With the possibility to restore deleted record, catalog maintainer has to update the database with the following migration SQL script.

Index migration

Index migration is only required if you created custom facets configuration in the admin or created custom Kibana dashboards. Changes are related to name or structure changes in index fields due to the improvement made for multilingual record support. The changes affect the following type of fields:

Codelist

t_ is now l_ and is an object composed of:

So et was:

codelist_characterSet: [
"utf8"
],
codelist_characterSet_text: [
"UTF8"
],
codelist_characterSet_text_langeng: [
"UTF8"
],

and is now:

cl_characterSet: [{
  key: "utf8",
  default: "UTF8",
  langeng: "UTF8",
  link: "http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode"
}]

So if using xt in a facet, use cl_characterSet.default with this new version.

Thesaurus

The ds field is now only used for rendering (not for query) to limit the total number of field and avoid some errors on large catalogues.

Use the per thesaurus fields which were named thesaurus_geonetwork+external/local+type+thesaurusid and are now id. The field is also an object composed of:

thesaurus_geonetworkthesaurusexternalthemeeeatopics: [
  "Land use",
  "http://www.eea.europa.eu/portal_vocabularies/themes/landuse",
  "Biodiversity - Ecosystems",
  "http://www.eea.europa.eu/portal_vocabularies/themes/biodiversity"
],

and is now:

th_eea-topics: [{
  default: "Biodiversity - Ecosystems",
  langeng: "Biodiversity - Ecosystems",
  link: "http://www.eea.europa.eu/portal_vocabularies/themes/biodiversity"
},
{
  default: "Policy instruments",
  langeng: "Policy instruments",
  link: "http://www.eea.europa.eu/portal_vocabularies/themes/policy"
}

Topic category

ic is renamed to ic and has the same structure as a codelist.

GeoTag

ag is now stored in the template field for keyword types](https://github.com/geonetwork/core-geonetwork/pull/5243) ie. [keywordType-place

For more details check Configuring search fields and Configuring faceted search.

Main changes in version 4.0.2

and more ... see 4.0.2 issues and pull requests for full details.