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

Creator Facet #105

Open
1 task
Tracked by #394
orangewolf opened this issue Oct 18, 2022 · 10 comments
Open
1 task
Tracked by #394

Creator Facet #105

orangewolf opened this issue Oct 18, 2022 · 10 comments

Comments

@orangewolf
Copy link
Contributor

orangewolf commented Oct 18, 2022

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

  • Creator facet works and include all creator fields

Screenshots or Video

Testing Instructions

  • Edit or create a work to include one of the creator fields (i.e. 'UTK photographer', 'UTK illustrator', etc.)
  • Do an empty catalog search
  • Open the creator facet and make sure those work's creators are present and when clicked on, show that work

Notes

Confused how to fill this out? Check out the playbook

@jillpe
Copy link

jillpe commented Apr 19, 2023

related to #394

@markpbaggett
Copy link
Collaborator

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.

kirkkwang added a commit that referenced this issue Feb 19, 2024
Since the SolrDocument loads on boot we need to trigger it when the
tenant changes because the m3 profiles are tenant specific so I added
`SolrDocument.field_semantics` to be triggered by `switch!`.  We also
will aggregate all the creators from the m3 profile into the `creators`
facet.

Ref:
  - #105
@markpbaggett
Copy link
Collaborator

@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
Copy link

jillpe commented Feb 21, 2024

SoftServ QA: ✅

Image

@josh-morgan117
Copy link
Collaborator

josh-morgan117 commented Mar 1, 2024

@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
Copy link
Contributor

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

@josh-morgan117
Copy link
Collaborator

@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
Copy link
Contributor

@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
Copy link
Contributor

@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
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

5 participants