RED-6411 - remove false positives before calling EntitySearchUtils.addOrAddEngine()
This commit is contained in:
parent
cec18a472f
commit
459af9e33b
@ -66,7 +66,7 @@ class EntityFinder {
|
|||||||
!local,
|
!local,
|
||||||
model.isDossierDictionary(),
|
model.isDossierDictionary(),
|
||||||
local ? Engine.RULE : Engine.DICTIONARY,
|
local ? Engine.RULE : Engine.DICTIONARY,
|
||||||
local ? EntityType.RECOMMENDATION : EntityType.ENTITY));
|
local ? EntityType.RECOMMENDATION : EntityType.ENTITY)).stream().filter(e -> !e.isFalsePositive()).collect(Collectors.toSet());
|
||||||
|
|
||||||
EntitySearchUtils.addOrAddEngine(found, entities);
|
EntitySearchUtils.addOrAddEngine(found, entities);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user