geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
410 stars 487 forks source link

Elasticsearch migration / List of missing features #4727

Open fxprunayre opened 4 years ago

fxprunayre commented 4 years ago

Following https://github.com/geonetwork/core-geonetwork/pull/2830 some GN3 features are not yet available. This issue is a list of what is not implemented in GeoNetwork 4.0.0

Features removed

image

GeoNetwork 3.x features not implemented in version 4.x

API

UI

image

image

Index

Admin

Security

Harvester

etorresmoya commented 3 years ago

Francois good day, i need some help, i am new in Geonetwork and i want to use facet using a local thesaurus, but i dont find information, sorry i am not developer only spatial user, but i have loking for information, and it is very difficult to find a detail guide . I am very interested in the new facet funcionalities from geonetwork 4.

I hope some help.

Best regards.

Enrique T

fxprunayre commented 3 years ago

i want to use facet using a local thesaurus,

You've examples in https://github.com/geonetwork/core-geonetwork/blob/4.0.x/web-ui/src/main/resources/catalog/js/CatController.js#L294-L324 and you can customize this in admin > settings UI.

If you have difficulties finding the name of the field to use, you can use Kibana to explore the index content or check one document using http://localhost:9200/gn-records/_doc/7c7923b1-c387-49ac-b6c7-391ca187b7fa

etorresmoya commented 3 years ago

Francois good day, I am trying to follow this guide "https://geonetwork-opensource.org/manuals/trunk/eng/users/customizing-application/configuring-faceted-search.html" and also your indications, but for my it is very confuse, sorry (i am not developer), is there an specific guide for this topic?, like step by step?

In many documents talk about search field, for example: https://geonetwork-opensource.org/manuals/trunk/en/customizing-application/configuring-search-fields.html, but the guide indicates some files, but there is nothing (see image).

image

I hope some help.

Best regards.

Enrique T

fxprunayre commented 3 years ago

Documentation for version 4 is https://geonetwork-opensource.org/manuals/4.0.x/en/customizing-application/configuring-faceted-search.html.

In your case, to add a facet on your thesaurus,

'inspireThemeUri': {
  'terms': {
    'field': 'thesaurus_geonetworkthesaurusexternalthemegemet'
  }
}
etorresmoya commented 3 years ago

Francois good day, I followed your recomendatios about Documentation for version 4 is https://geonetwork-opensource.org/manuals/4.0.x/en/customizing-application/configuring-faceted-search.html., and the results are good. I want to change the label name in the facets, but if I change that the system doesn't count well the metadates so How can I change those label and that the metadata counter work well?

Best regards, Enrique T

image

image

fxprunayre commented 3 years ago

How can I change those label and that the metadata counter work well?

The idea in the long run is to use the translation API to store translations in the database https://github.com/geonetwork/core-geonetwork/pull/4823. You can use the API for that http://localhost:8080/geonetwork/doc/api. The other option is to add them directly in https://github.com/geonetwork/core-geonetwork/blob/4.0.x/web-ui/src/main/resources/catalog/locales/en-v4.json

etorresmoya commented 3 years ago

Francois good day, thank a lot, I added the labels in the https://github.com/geonetwork/core-geonetwork/blob/4.0.x/web-ui/src/main/resources/catalog/locales/en-v4.json, and finally everything was successful. Here the results.

image

image

ianwallen commented 3 years ago

@fxprunayre, have any of these missing features been fixed in 4.0.3 or 4.0.4? I don't see any comments indicated any new fixes in the last 2 releases.

We are mostly interested in the - "Search / Multilingual support" feature as our metadata is multilingual.

fxprunayre commented 3 years ago

We are mostly interested in the - "Search / Multilingual support" feature as our metadata is multilingual.

Consider using 4.0.2+ for multilingual support. The work done so far was mainly funded by Ifremer https://sextant.ifremer.fr/ also having a mix of french or english only and french / english. Version 4 is in testing at Ifremer currently and we are quite happy with the current search results.

image indicates that some of GeoNetwork 3 features are not yet supported but maybe are not really needed. At least, it requires testing search live on multilingual catalog and define strategy(ies) for better indexing/search using Elasticsearch capabilities.

In http://metawal.wallonie.be/ we have been defining custom analyzer for French https://github.com/geonetwork/core-geonetwork/blob/4.0.x/web/src/main/webResources/WEB-INF/data/config/index/records_french.json which provides better results on some particular cases.

We have to check how to combine multiple analyzer, also having a configuration to search only in a specific language or all may be useful on the long run but so far, it is not high priority here.

So 4.0.2 adds indexing and facet support with multilingual capabilities with https://github.com/geonetwork/core-geonetwork/pull/5193

Nicolas-Contois commented 3 years ago

Hi,

We made the same things like @etorresmoya and it's work, thank you @fxprunayre But we want to add icons like Inspire topics, how we can do this ?

Nicolas C

fxprunayre commented 3 years ago

But we want to add icons like Inspire topics, how we can do this ?

There is no easy config way for this. You've to update the HTML template https://github.com/geonetwork/core-geonetwork/blob/main/web-ui/src/main/resources/catalog/views/default/templates/home.html#L98.

jodygarnett commented 7 months ago

Added to docs as part of https://github.com/geonetwork/core-geonetwork/pull/7644

frittentheke commented 4 months ago

May I ask if the list of open tasks is still current after the release 4.4.3?