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 <garygrantgraham@gmail.com>

---------

Co-authored-by: Tadgh <garygrantgraham@gmail.com>
This commit is contained in:
Patrick Werner 2024-12-06 17:04:13 +01:00 committed by GitHub
parent 37020b1820
commit b7e94ece95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -2863,6 +2863,7 @@ public class QueryStack {
if (indexOnContainedResources) { if (indexOnContainedResources) {
return EmbeddedChainedSearchModeEnum.UPLIFTED_AND_REF_JOIN; return EmbeddedChainedSearchModeEnum.UPLIFTED_AND_REF_JOIN;
} }
ourLog.debug("Search on {}.{} uses an uplifted refchain.", theResourceType, theParameterName);
return EmbeddedChainedSearchModeEnum.UPLIFTED_ONLY; return EmbeddedChainedSearchModeEnum.UPLIFTED_ONLY;
} else { } else {
return EmbeddedChainedSearchModeEnum.REF_JOIN_ONLY; return EmbeddedChainedSearchModeEnum.REF_JOIN_ONLY;