From b7e94ece954c93756a70dfc703a8d0aa43d86a68 Mon Sep 17 00:00:00 2001 From: Patrick Werner Date: Fri, 6 Dec 2024 17:04:13 +0100 Subject: [PATCH] feat: added debug log output if QueryStack utilizes Uplifted Refchains (#6528) * feat: added debug log output if QueryStack utilizes Uplifted Refchains * Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/QueryStack.java typo fix Co-authored-by: Tadgh --------- Co-authored-by: Tadgh --- .../src/main/java/ca/uhn/fhir/jpa/search/builder/QueryStack.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/QueryStack.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/QueryStack.java index 7f7c7dbbd29..4d9c61ed230 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/QueryStack.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/QueryStack.java @@ -2863,6 +2863,7 @@ public class QueryStack { if (indexOnContainedResources) { return EmbeddedChainedSearchModeEnum.UPLIFTED_AND_REF_JOIN; } + ourLog.debug("Search on {}.{} uses an uplifted refchain.", theResourceType, theParameterName); return EmbeddedChainedSearchModeEnum.UPLIFTED_ONLY; } else { return EmbeddedChainedSearchModeEnum.REF_JOIN_ONLY;