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:
Kilian Schüttler 2024-04-15 14:31:50 +02:00
commit c8b1eb31b7

View File

@ -56,7 +56,7 @@ public class DictionarySearchService {
SemanticNode node,
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);
searchImplementation.getBoundaries(node.getTextBlock(), node.getTextRange())
.stream()