feat: update field names to new schema and add group/type/HLB facets#4
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dc_*field names (dc_ti,dc_cr,dc_su, etc.) to full Dublin Core names (dc_title,dc_creator,dc_subject, etc.) for thedor-dc-20260509index.keywordsubfields to.faceton allMultiListdataFieldpropsxx_dc_*andXXX_dc_*field display blocks (dropped in new index)dc_tydisplay block (merged intodc_typein new index)MultiListfacets: Group (groupName.facet), Type (collection_type.facet), Subject Area (hlb.facet)react.andarrays andReactiveListhlb^3andgroupName^2to thebest_fieldsmulti-match query