scientist-softserv / utk-hyku

Other
6 stars 0 forks source link

Creator Facet #105

Open orangewolf opened 2 years ago

orangewolf commented 2 years ago

Summary

UTK would like to have a creator facet that includes all of the different types of creator fields (i.e. photographers, authors, interviewers, etc.)

Acceptance Criteria

Screenshots or Video

Testing Instructions

Notes

Confused how to fill this out? Check out the playbook

jillpe commented 1 year ago

related to #394

markpbaggett commented 9 months ago

In case it's useful, I wanted to add a little more information to help explain the ask here. Traditionally, we have been a MODS shop, and we think about relationships between works and people using marc:relators. That means that if we knew I was the person took a photograph of an image work and we weren't expressing the concept of me as a URI, we would state that the person's relationship between the work would be something like this:

<https://our-repository-or-dams/example-image-work> <https://id.loc.gov/vocabulary/relators/pht> "Baggett, Mark" .

This is great an good when looking at the metadata record, but it's not ideal when you want to facet across the entire repository. For instance, if someone searched for Baggett or an image I had taken a photograph of, each role would be its own facet. This is especially bad if I am present in multiple roles (sometimes and Author, sometimes a photographer, etc.)

Because of this, what is being asked here is that role terms in our m3 profile with a {property}.mappings.blacklight equal to creator_sim create an additional facet in the solr doc called Creator. The value would be whatever the value of the {property} is (in this case, Baggett, Mark).

If there are more questions, let me know here or in Slack.

markpbaggett commented 9 months ago

@kirkkwang, Just adding a little more context in case it's helpful.

Let's pretend Baggett, Mark existed as a value on a work in the photographer field and as a value in the author field of another work. In the facets, there would be a Creator field with a value like Baggett, Mark (2) or Baggett, Mark. When you clicked that value, it would open a results set with both works listed. If you looked at the full results of the Work, it would say something like Photographer: Baggett, Mark or Author: Baggett, Mark. Preferably, it wouldn't show Creator: Baggett, Mark from that view, but if it did, we can live.

jillpe commented 9 months ago

SoftServ QA: ✅

Image

josh-morgan117 commented 9 months ago

@kirkkwang Hey Kirk, I've noticed some things we'll want to talk about to resolve.

This item has two creator fields: illustrator with a URI, and local UTK creator. Both show up in metadata, the "More Information" tab in the Viewer, as well as in the search (see screenshot). I believe our goal is to have only one of them show.

Edit: updating because I didn't see at the bottom of the metadata the local creator is there too.

Image

kirkkwang commented 9 months ago

@kidon0011 Sounds good, we can chat about it whenever and hopefully come up with a good solution

josh-morgan117 commented 9 months ago

@kirkkwang I noticed one other thing we'll want to include in that talk. The URIs showing up in the search facet here are all from collection metadata, not item/work metadata.

Image

kirkkwang commented 9 months ago

@kidon0011 Ahh that's my mistake, when I ran the reindex I only did Works and didn't update the Collection, I can kick that off this weekend

kirkkwang commented 9 months ago

@kidon0011 actually this problem seems to be a larger one, i just tested a reindex and it didn't affect this field. I'll take a deeper look

kirkkwang commented 9 months ago

@kidon0011 i deployed a fix to staging

image image

https://dc.utk-hyku-staging.notch8.cloud/collections/b58e0c07-0cab-49f0-9130-ee9ec6856a2a?locale=en