This commit is contained in:
Dominique Eifländer 2021-10-19 14:52:55 +02:00
parent 2f66d223fd
commit 4d0c5eda57

View File

@ -151,6 +151,7 @@ public class EntitySearchUtils {
if(existing.getType().equals(found.getType())){
existing.getEngines().addAll(found.getEngines());
} else if (dictionary.getDictionaryRank(existing.getType()) <= dictionary.getDictionaryRank(found.getType())){
found.getEngines().addAll(existing.getEngines());
entities.remove(found);
entities.add(found);
}