RED-6411 - remove false positives before calling EntitySearchUtils.addOrAddEngine()
This commit is contained in:
parent
04343334d8
commit
ddd4c42da7
@ -300,7 +300,7 @@ public class EntityRedactionService {
|
||||
!local,
|
||||
model.isDossierDictionary(),
|
||||
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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user