dulibrarytech / digitaldu-backend

backend app to the DU digital collections repository
Apache License 2.0
1 stars 0 forks source link

Create arrays in the index document for new facet fields, update the fields in the f_subjects array #213

Open jrynhart opened 3 years ago

jrynhart commented 3 years ago

Add an array to the index such as f_genre_form to contain values from the index field "display_record.subjects.terms.type" genre_form

Add an array to the index such as f_geographic to contain values from the index field "display_record.subjects.terms.type" geographic

Update the f_subjects array to contain data from the following subject "term type" fields, and no other fields:

· Topical

· Occupation

· Names (People, Orgs, Buildings) – these come from “Agent” DB

· Function

· Temporal

· Style/Period

· Uniform Title

Refer to https://github.com/dulibrarytech/digitaldu-frontend/issues/338

jrynhart commented 3 years ago

subjects.terms.type fields for the f_subjects array: topical occupation function uniform_title temporal style_period

subjects.title fields for the f_subjects array: authority = naf authority = viaf authority = local

subjects.terms.type field for the f_geographic array: geographic

subjects.terms.type field for the f_genre_form array: genre_form

jrynhart commented 3 years ago

In the frontend metadata display Topics bucket, I am capturing ALL subjects.title fields, IF the terms.type value in that field is NOT "geographic" or "genre_form"

freyesdulib commented 3 years ago

Per Kate: Remove "Format" once enhancement is complete.