Skip to content

Fix content indexing issue #869#417

Closed
mariusmarin-dev wants to merge 10 commits into
mainfrom
869-Content_indexing_fix
Closed

Fix content indexing issue #869#417
mariusmarin-dev wants to merge 10 commits into
mainfrom
869-Content_indexing_fix

Conversation

@mariusmarin-dev

Copy link
Copy Markdown

No description provided.

Comment thread src/main/java/uk/ac/cam/cl/dtg/segue/etl/ContentIndexer.java
mariusmarin-dev and others added 8 commits May 27, 2026 11:01
… skipping

When a duplicate ID is detected in the content cache, instead of skipping the content and registering a problem, now re-index it with the latest version found. This ensures that if content is encountered multiple times (due to treewalk, references, or other reasons), we use the most recently processed version.

Rationale: If a duplicate is detected, skipping the second occurrence means we lose any updates or corrections. Re-indexing with the latest version ensures we always use the most current content for indexing.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…69-Content_indexing_fix

# Conflicts:
#	src/main/java/uk/ac/cam/cl/dtg/segue/etl/ContentIndexer.java
@sonarqubecloud

Copy link
Copy Markdown

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

Successfully merging this pull request may close these issues.

1 participant