Merge branch 'RED-8610' into 'master'
RED-8610: dossier-dictionary entities should only have the engine DOSSIER_DICTIONARY Closes RED-8610 See merge request redactmanager/redaction-service!372
This commit is contained in:
commit
c8b1eb31b7
@ -56,7 +56,7 @@ public class DictionarySearchService {
|
|||||||
SemanticNode node,
|
SemanticNode node,
|
||||||
boolean isDossierDictionaryEntry) {
|
boolean isDossierDictionaryEntry) {
|
||||||
|
|
||||||
Set<Engine> engines = isDossierDictionaryEntry ? Set.of(Engine.DICTIONARY, Engine.DOSSIER_DICTIONARY) : Set.of(Engine.DICTIONARY);
|
Set<Engine> engines = isDossierDictionaryEntry ? Set.of(Engine.DOSSIER_DICTIONARY) : Set.of(Engine.DICTIONARY);
|
||||||
EntityCreationService entityCreationService = new EntityCreationService(entityEnrichmentService);
|
EntityCreationService entityCreationService = new EntityCreationService(entityEnrichmentService);
|
||||||
searchImplementation.getBoundaries(node.getTextBlock(), node.getTextRange())
|
searchImplementation.getBoundaries(node.getTextBlock(), node.getTextRange())
|
||||||
.stream()
|
.stream()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user