From 39ee147b7f3a700a44eb01578fe71c9617785411 Mon Sep 17 00:00:00 2001 From: Jordan Padams Date: Fri, 18 Oct 2024 19:31:57 -0700 Subject: [PATCH 1/2] Add landing pages for Telescope, Facility, Airborne Also improved error messaging when Solr is down --- .../conf/search/defaults/pds/pds4/context.xml | 12 ++++++++++++ .../src/main/resources/policy/global-policy.xml | 3 +++ .../main/resources/collections/data/managed-schema | 6 ++++++ 3 files changed, 21 insertions(+) diff --git a/harvest-legacy/src/main/resources/conf/search/defaults/pds/pds4/context.xml b/harvest-legacy/src/main/resources/conf/search/defaults/pds/pds4/context.xml index c4aaf09..8221763 100644 --- a/harvest-legacy/src/main/resources/conf/search/defaults/pds/pds4/context.xml +++ b/harvest-legacy/src/main/resources/conf/search/defaults/pds/pds4/context.xml @@ -111,6 +111,9 @@ external_reference_doi + + airborne_ref + airborne_name @@ -121,6 +124,9 @@ airborne_description + + facility_ref + facility_name @@ -238,6 +244,9 @@ person_description + + resource_ref + resource_name @@ -264,6 +273,9 @@ target_description + + telescope_ref + telescope_aperture diff --git a/harvest-legacy/src/main/resources/policy/global-policy.xml b/harvest-legacy/src/main/resources/policy/global-policy.xml index 164783a..8b0bf57 100644 --- a/harvest-legacy/src/main/resources/policy/global-policy.xml +++ b/harvest-legacy/src/main/resources/policy/global-policy.xml @@ -2593,6 +2593,9 @@ instrument_to_telescope + + investigation_to_telescope + is_telescope diff --git a/registry-mgr-legacy/src/main/resources/collections/data/managed-schema b/registry-mgr-legacy/src/main/resources/collections/data/managed-schema index 566829c..0c07be0 100644 --- a/registry-mgr-legacy/src/main/resources/collections/data/managed-schema +++ b/registry-mgr-legacy/src/main/resources/collections/data/managed-schema @@ -29,6 +29,8 @@ + + @@ -104,6 +106,7 @@ + @@ -139,6 +142,7 @@ + @@ -185,6 +189,7 @@ + @@ -205,6 +210,7 @@ + From 5c3ab223aa66f2957c65e42e94ad206f2a8c649c Mon Sep 17 00:00:00 2001 From: Jordan Padams Date: Sat, 16 Nov 2024 13:49:13 -0800 Subject: [PATCH 2/2] Update search core config for Documents Add missing `resource_ref` Resolves #154 --- .../main/resources/conf/search/defaults/pds/pds4/document.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/harvest-legacy/src/main/resources/conf/search/defaults/pds/pds4/document.xml b/harvest-legacy/src/main/resources/conf/search/defaults/pds/pds4/document.xml index 5549fe1..053fc2a 100644 --- a/harvest-legacy/src/main/resources/conf/search/defaults/pds/pds4/document.xml +++ b/harvest-legacy/src/main/resources/conf/search/defaults/pds/pds4/document.xml @@ -177,6 +177,9 @@ other_ref + + resource_ref + external_reference_text