From c31ebebdea38eb133dd80bd716212b625d6cd7b5 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Thu, 24 Aug 2017 15:25:53 -0400 Subject: [PATCH] Revert last perf change --- .../ca/uhn/fhir/jpa/term/BaseHapiTerminologySvc.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseHapiTerminologySvc.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseHapiTerminologySvc.java index d897943edf6..bb3f5f7144f 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseHapiTerminologySvc.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseHapiTerminologySvc.java @@ -396,17 +396,6 @@ public abstract class BaseHapiTerminologySvc implements IHapiTerminologySvc { if (myChildToParentPidCache == null) { myChildToParentPidCache = ArrayListMultimap.create(); - - ourLog.info("Filling terminology parent/child cache"); - int count = 0; - for (TermConceptParentChildLink next : myConceptParentChildLinkDao.findAll()) { - myChildToParentPidCache.put(next.getChildPid(), next.getParentPid()); - if (count++ % 1000 == 0) { - ourLog.info("Loaded {} links", count); - } - } - ourLog.info("Done filling terminology parent/child cache"); - } ourLog.info("Indexing {} / {} concepts", concepts.getContent().size(), concepts.getTotalElements());