Revert last perf change
This commit is contained in:
parent
18213f1af9
commit
c31ebebdea
|
@ -396,17 +396,6 @@ public abstract class BaseHapiTerminologySvc implements IHapiTerminologySvc {
|
||||||
|
|
||||||
if (myChildToParentPidCache == null) {
|
if (myChildToParentPidCache == null) {
|
||||||
myChildToParentPidCache = ArrayListMultimap.create();
|
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());
|
ourLog.info("Indexing {} / {} concepts", concepts.getContent().size(), concepts.getTotalElements());
|
||||||
|
|
Loading…
Reference in New Issue