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

Inactive pids are indexed in relationship fields of the object's Solr record #68

Open
giulioturetta opened this issue Apr 1, 2022 · 0 comments
Labels

Comments

@giulioturetta
Copy link
Contributor

giulioturetta commented Apr 1, 2022

Indexing of the following relationships should perform a check on the object's state before populating the matching field in the Solr index:

info:fedora/fedora-system:def/relations-external#hasCollectionMember
http://pcdm.org/models#hasMember
http://purl.org/dc/terms/references
http://phaidra.org/XML/V1.0/relations#isBackSideOf
http://phaidra.univie.ac.at/XML/V1.0/relations#hasSuccessor
http://phaidra.org/XML/V1.0/relations#isAlternativeFormatOf
http://phaidra.org/XML/V1.0/relations#isAlternativeVersionOf

Example object o:429192 for hasCollectionMember relationship

Solr record of pid o:429192 contains "ispartof":["o:429576","o:445579"]

FOXML of object o:445579 contains <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Inactive"/>

Triple store content:

<info:fedora/o:429576> <info:fedora/fedora-system:def/relations-external#hasCollectionMember> <info:fedora/o:429192> .
<info:fedora/o:445579> <info:fedora/fedora-system:def/relations-external#hasCollectionMember> <info:fedora/o:429192> .

Worth checking if the same issue might happen for Deleted collection objects too (and what about non-existing pids?).

@giulioturetta giulioturetta changed the title Inactive collection pids are indexed in ispartof field Inactive pids are indexed in relationship fields Apr 15, 2022
@giulioturetta giulioturetta changed the title Inactive pids are indexed in relationship fields Inactive pids are indexed in relationship fields of the object's Solr record Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant