RED-10200: Spike performant rules update logic
This commit is contained in:
parent
a36aa0c047
commit
a93049cd41
@ -205,7 +205,6 @@ public class AnalyzeService {
|
||||
dictionarySearchService.addDictionaryEntities(analysisData.dictionary(), analysisData.document());
|
||||
log.info("Finished Dictionary Search for file {} in dossier {}", analyzeRequest.getFileId(), analyzeRequest.getDossierId());
|
||||
|
||||
long start = System.currentTimeMillis();
|
||||
// we could add the imported redactions similar to the manual redactions here as well for additional processing
|
||||
List<FileAttribute> allFileAttributes = entityDroolsExecutionService.executeRules(analysisData.kieWrapperEntityRules().container(),
|
||||
analysisData.document(),
|
||||
@ -215,8 +214,6 @@ public class AnalyzeService {
|
||||
analysisData.nerEntities(),
|
||||
context);
|
||||
log.info("Finished entity rule execution for file {} in dossier {}", analyzeRequest.getFileId(), analyzeRequest.getDossierId());
|
||||
long end = System.currentTimeMillis();
|
||||
System.out.println("Rule exec duration: " + (end - start));
|
||||
|
||||
EntityLogChanges entityLogChanges = entityLogCreatorService.createInitialEntityLog(analyzeRequest,
|
||||
analysisData.document(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user