Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch migration / List of missing features #4727

Open
21 of 34 tasks
fxprunayre opened this issue May 28, 2020 · 13 comments
Open
21 of 34 tasks

Elasticsearch migration / List of missing features #4727

fxprunayre opened this issue May 28, 2020 · 13 comments
Milestone

Comments

@fxprunayre
Copy link
Member

fxprunayre commented May 28, 2020

Following #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

  • Admin / Batch process (not editor > Batch editing) / admin.console#/tools/batch are not available and most of the cases can be handled in batch editing tool Admin / Batch editing / Removed unused code. #6400 (Feature removed - Done in 4.2.1)
  • CSW / GetDomain / Not implemented: Use search API aggregations

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

API

UI

  • Search / Advanced form (some of the filters have been replaced by facet filter)

image

image

Index

Admin

  • Information about the index - not needed, can be replaced by Kibana admin?
  • Schematron rules (See SchematronCriteriaGroupServiceIntegrationTest)
  • Search / Statistics and search stat dashboards (not really working in 3.x)
  • Reports (Elasticsearch migration / Restore admin reports. #5683 in 4.0.5)

Security

Harvester

  • CSW / Check on resource identifier (not only check record based on its UUID)
  • GeoNetwork 4 can not be harvested using GeoNetwork protocol by an older version. It has to use CSW instead. In the future, OGC API records may be the best option. GeoNetwork 4.x harvester #7579
@fxprunayre fxprunayre changed the title Elasticsearch migration / List of missing or new features to implement. Elasticsearch migration / List of missing features Oct 6, 2020
@fxprunayre fxprunayre added this to the 4.0.0 milestone Oct 15, 2020
@etorresmoya
Copy link

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
Copy link
Member Author

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

@fxprunayre fxprunayre modified the milestones: 4.0.1, 4.0.2 Nov 6, 2020
@etorresmoya
Copy link

etorresmoya commented Nov 16, 2020

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
Copy link
Member Author

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
Copy link

etorresmoya commented Nov 23, 2020

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
Copy link
Member Author

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 #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
Copy link

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
Copy link
Contributor

@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
Copy link
Member Author

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
#5193

@Nicolas-Contois
Copy link

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
Copy link
Member Author

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.

@fxprunayre fxprunayre modified the milestones: 4.0.4, 4.0.5 May 5, 2021
@fxprunayre fxprunayre modified the milestones: 4.0.5, 4.0.6 Jun 18, 2021
@jahow jahow modified the milestones: 4.0.6, 4.0.7 Feb 2, 2022
@fxprunayre fxprunayre modified the milestones: 4.2.0, 4.2.1 May 17, 2022
@fxprunayre fxprunayre modified the milestones: 4.2.1, 4.2.2 Sep 12, 2022
@fxprunayre fxprunayre modified the milestones: 4.2.2, 4.2.3 Dec 12, 2022
@fxprunayre fxprunayre modified the milestones: 4.2.3, 4.2.4 Mar 7, 2023
@fxprunayre fxprunayre modified the milestones: 4.2.4, 4.2.5 May 10, 2023
@fxprunayre fxprunayre modified the milestones: 4.2.5, 4.2.6 Jul 10, 2023
@fxprunayre fxprunayre modified the milestones: 4.2.6, 4.4.1 Oct 4, 2023
@fxprunayre fxprunayre modified the milestones: 4.4.1, 4.4.2 Nov 22, 2023
@ticheler ticheler pinned this issue Jan 18, 2024
@jodygarnett
Copy link
Contributor

Added to docs as part of #7644

@fxprunayre fxprunayre modified the milestones: 4.4.2, 4.4.3 Jan 23, 2024
@fxprunayre fxprunayre modified the milestones: 4.4.3, 4.4.4 Mar 14, 2024
@fxprunayre fxprunayre modified the milestones: 4.4.4, 4.4.5 Apr 15, 2024
@frittentheke
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants