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;