From 0b9abd577f029ff8bdd7065b3538c7808f59db85 Mon Sep 17 00:00:00 2001 From: Stig Norland Date: Mon, 21 Oct 2024 11:53:00 +0200 Subject: [PATCH] SCIENTIFIC_VALUE_OF_CHILD -> SCIENTIFIC_VALUE_OF_PARENT (#605) --- .../java/no/unit/nva/search/resource/ResourceParameter.java | 2 +- search-commons/src/test/resources/resource_urls.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/search-commons/src/main/java/no/unit/nva/search/resource/ResourceParameter.java b/search-commons/src/main/java/no/unit/nva/search/resource/ResourceParameter.java index 1284afa24..d3c3cf45e 100644 --- a/search-commons/src/main/java/no/unit/nva/search/resource/ResourceParameter.java +++ b/search-commons/src/main/java/no/unit/nva/search/resource/ResourceParameter.java @@ -225,7 +225,7 @@ public enum ResourceParameter implements ParameterKey { REFERENCE_EXISTS(CUSTOM, ALL_OF, ENTITY_DESCRIPTION_REFERENCE_CONTEXT_REFERENCE), REFERENCED_ID(FUZZY_KEYWORD, ANY_OF, REFERENCE_PUBLICATION_CONTEXT_ID_KEYWORD), SCIENTIFIC_VALUE(KEYWORD, ANY_OF, SCIENTIFIC_LEVEL_SEARCH_FIELD), - SCIENTIFIC_VALUE_OF_CHILD(HAS_PARTS, ANY_OF, SCIENTIFIC_VALUE), + SCIENTIFIC_VALUE_OF_PARENT(PART_OF, ANY_OF, SCIENTIFIC_VALUE), SCIENTIFIC_INDEX_STATUS(KEYWORD, ANY_OF, SCIENTIFIC_INDEX_STATUS_KEYWORD), SCIENTIFIC_INDEX_STATUS_NOT(KEYWORD, NOT_ANY_OF, SCIENTIFIC_INDEX_STATUS_KEYWORD), SCIENTIFIC_REPORT_PERIOD(NUMBER, BETWEEN, SCIENTIFIC_INDEX_YEAR), diff --git a/search-commons/src/test/resources/resource_urls.json b/search-commons/src/test/resources/resource_urls.json index e85f9a461..ac20e9449 100644 --- a/search-commons/src/test/resources/resource_urls.json +++ b/search-commons/src/test/resources/resource_urls.json @@ -186,7 +186,7 @@ "SCIENTIFIC_REPORT_PERIOD_BEFORE=2019": 1, "SCIENTIFIC_REPORT_PERIOD_SINCE=2019": 3, "SCIENTIFIC_VALUE=LevelOne,LevelTwo": 5, - "SCIENTIFIC_VALUE_OF_CHILD=LevelOne,LevelTwo": 0, + "SCIENTIFIC_VALUE_OF_PARENT=LevelOne,LevelTwo": 2, "SCIENTIFIC_VALUE=LevelTwo": 1, "SCOPUS_IDENTIFIER=123455": 1, "SERIES=B24919B5-5DC4-4787-8D84-7922852we373": 1,