-
Notifications
You must be signed in to change notification settings - Fork 51
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
Adjust indexing so all MO metadata values get added to proxy #5425
Conversation
fb62b15
to
22b14c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking really close!
Reviewing this reminds me the importance of #5411 since there are some fields I noticed that I think maybe should be changed to stored but aren't in the scope of this PR since they aren't in the IIIF manifest.
The solr_doc includes the master file ids in the other identifier field. These ids are not included in the accessor on the media object. These ids also are of a different format than the media object's normal other_identifiers. We need to exclude the master file ids from the accessor on the proxy because of those factors.
22b14c6
to
4d85784
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! One small fix and it should be good to go! 🎉
`other_identifier_ssm` is an array of JSON hashes, while `other_identifier_sim` is just the identifier values. We should use these values in the `all_text_value` field to match the original implementation and avoid pitfalls related to feeding JSON into the searchable field. Co-authored-by: Chris Colvard <chris.colvard@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
For future reference these are the changes to the solr document in this PR: Changed fields: Added hash fields: |
Do not merge and reindex until after user testing. Earliest merge date is 11/15/23.