RED-8610: dossier-dictionary entities should only have the engine DOSSIER_DICTIONARY #372
@ -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