Add support for reindexing all metadata of a harvester#9133
Open
tobias-hotz wants to merge 3 commits intogeonetwork:mainfrom
Open
Add support for reindexing all metadata of a harvester#9133tobias-hotz wants to merge 3 commits intogeonetwork:mainfrom
tobias-hotz wants to merge 3 commits intogeonetwork:mainfrom
Conversation
josegar74
reviewed
Jan 17, 2026
harvesters/src/main/java/org/fao/geonet/services/harvesting/Reindex.java
Outdated
Show resolved
Hide resolved
web/src/main/webapp/WEB-INF/config/config-service-admin-harvesting.xml
Outdated
Show resolved
Hide resolved
josegar74
approved these changes
Feb 3, 2026
Member
josegar74
left a comment
There was a problem hiding this comment.
Thanks for the changes. Tested and works fine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for reindexing all the metadata records of a harvester. This is useful if a harvester run occured while the Elasticsearch instance had issues. Without this PR, you need to reindex all metadata (which may take a long time for huge catalogs) or select all affected metadata by hand (which may not be possible if the new metadata is not in the index).
With this PR, a new button is added in the harvester view that allows all records to be reindex. The backend code is mostly aligned to be similar to the existing code.
Checklist
mainbranch, backports managed with labelREADME.mdfilespom.xmldependency management. Update build documentation with intended library use and library tutorials or documentationFunded by LGL BW