Added some logs

This commit is contained in:
Dominique Eifländer 2021-10-19 14:38:03 +02:00
parent fa8f598763
commit 2f66d223fd
2 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,8 @@ public class EntitySearchUtils {
} }
var existing = existingOptional.get(); var existing = existingOptional.get();
log.info("existing: {}", existing);
log.info("found: {} ", found);
if(existing.getType().equals(found.getType())){ if(existing.getType().equals(found.getType())){
existing.getEngines().addAll(found.getEngines()); existing.getEngines().addAll(found.getEngines());
} else if (dictionary.getDictionaryRank(existing.getType()) <= dictionary.getDictionaryRank(found.getType())){ } else if (dictionary.getDictionaryRank(existing.getType()) <= dictionary.getDictionaryRank(found.getType())){