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

Ensure correct record id is set to enable deletion from geoblacklight #1317

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

thatbudakguy
Copy link
Member

GeoBlacklight records don't have an id field like SearchWorks ones
do - instead they have the layer_id_s field (in v1.0 schema), which
is set to the prefixed druid. This has to be set in the traject
context so that the indexer issues a delete using the id that the
record will actually have.

Fixes #597

GeoBlacklight records don't have an id field like SearchWorks ones
do - instead they have the layer_slug_s field (in v1.0 schema), which
is set to the prefixed druid. This has to be set in the traject
context so that the indexer issues a delete using the id that the
record will actually have.

Fixes #597
@thatbudakguy thatbudakguy marked this pull request as ready for review February 5, 2024 22:58
@aaron-collier aaron-collier merged commit 6ecd54d into main Feb 5, 2024
2 checks passed
@aaron-collier aaron-collier deleted the geo-solr-deletion branch February 5, 2024 23:03
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.

Unrelease from EarthWorks is not working for SDR items
2 participants