RED-7384: Fixed migration problem for a specific file #315
@ -357,6 +357,7 @@ public final class MigrationEntity {
|
|||||||
.annotationId(getNewId())
|
.annotationId(getNewId())
|
||||||
.updateDictionary(manualResizeRedaction.getUpdateDictionary())
|
.updateDictionary(manualResizeRedaction.getUpdateDictionary())
|
||||||
.addToAllDossiers(manualResizeRedaction.isAddToAllDossiers())
|
.addToAllDossiers(manualResizeRedaction.isAddToAllDossiers())
|
||||||
|
.requestDate(manualResizeRedaction.getRequestDate())
|
||||||
.textAfter(manualResizeRedaction.getTextAfter())
|
.textAfter(manualResizeRedaction.getTextAfter())
|
||||||
.textBefore(manualResizeRedaction.getTextBefore())
|
.textBefore(manualResizeRedaction.getTextBefore())
|
||||||
.build();
|
.build();
|
||||||
|
|||||||
@ -185,7 +185,8 @@ public class EntityFindingUtility {
|
|||||||
.toList(),
|
.toList(),
|
||||||
node.getPages()));
|
node.getPages()));
|
||||||
}
|
}
|
||||||
SearchImplementation searchImplementation = new SearchImplementation(entryValues, true);
|
|
||||||
|
SearchImplementation searchImplementation = new SearchImplementation(entryValues.stream().map(String::trim).collect(Collectors.toSet()), true);
|
||||||
|
|
||||||
return searchImplementation.getBoundaries(node.getTextBlock(), node.getTextRange())
|
return searchImplementation.getBoundaries(node.getTextBlock(), node.getTextRange())
|
||||||
.stream()
|
.stream()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user