test 1
This commit is contained in:
parent
2f66d223fd
commit
4d0c5eda57
@ -151,6 +151,7 @@ public class EntitySearchUtils {
|
|||||||
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())){
|
||||||
|
found.getEngines().addAll(existing.getEngines());
|
||||||
entities.remove(found);
|
entities.remove(found);
|
||||||
entities.add(found);
|
entities.add(found);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user