Skip to content

feat: update field names to new schema and add group/type/HLB facets#4

Merged
gkostin1966 merged 4 commits into
mainfrom
field_rename
May 12, 2026
Merged

feat: update field names to new schema and add group/type/HLB facets#4
gkostin1966 merged 4 commits into
mainfrom
field_rename

Conversation

@billdueber
Copy link
Copy Markdown
Contributor

Summary

  • Renames all abbreviated dc_* field names (dc_ti, dc_cr, dc_su, etc.) to full Dublin Core names (dc_title, dc_creator, dc_subject, etc.) for the dor-dc-20260509 index
  • Changes .keyword subfields to .facet on all MultiList dataField props
  • Removes legacy xx_dc_* and XXX_dc_* field display blocks (dropped in new index)
  • Removes duplicate dc_ty display block (merged into dc_type in new index)
  • Adds three new MultiList facets: Group (groupName.facet), Type (collection_type.facet), Subject Area (hlb.facet)
  • Wires all seven facets into each other's react.and arrays and ReactiveList
  • Adds hlb^3 and groupName^2 to the best_fields multi-match query
  • Updates feedback form to include new filter values

billdueber and others added 4 commits May 11, 2026 12:24
- Rename all abbreviated dc_* field names (dc_ti, dc_cr, etc.) to full
  Dublin Core names (dc_title, dc_creator, etc.) for dor-dc-20260509 index
- Change .keyword subfields to .facet on all MultiList dataField props
- Remove legacy xx_dc_* and XXX_dc_* field display blocks (dropped in new index)
- Remove duplicate dc_ty display block (merged into dc_type)
- Add three new MultiList facets: group (groupName.facet),
  type (collection_type.facet), and HLB (hlb.facet)
- Wire all seven facets into each other's react.and arrays and ReactiveList
- Add hlb^3 and groupName^2 to best_fields multi_match query
- Update feedback form to report new filter values
- eslint.config.js: exclude mlibrary_search_parser/ and
  search-parser-service/ from linting (vendored/external code)
- vite.config.js: remove unused `mode` parameter
- OsDorDcApp/index.jsx: suppress no-unused-vars for commented-out
  price range state setters (intentionally kept for future use)
- OsDorDcApp/services/openSearchService.js: suppress no-unused-vars
  for priceRange parameter (intentionally kept for future use)
- env.template.sh: update VITE_OPENSEARCH_URL to
  opensearch.discovery.dor.lib.umich.edu (hos. host is retired)

npm run lint now passes cleanly with 0 errors.
@gkostin1966 gkostin1966 marked this pull request as ready for review May 12, 2026 15:53
@gkostin1966 gkostin1966 merged commit 711f8c7 into main May 12, 2026
@gkostin1966 gkostin1966 deleted the field_rename branch May 12, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants