public interface ModuleSearchRegistrationContext
ModuleRegistration.handleSearchRegistration(ModuleSearchRegistrationContext)| Modifier and Type | Method and Description |
|---|---|
String |
getModuleName()
Returns the current module name.
|
ModuleSearchRegistrationContext |
registerSearchTemplate(Supplier<SearchTemplate> aSearchTemplate)
Registers a new search template supplier.
|
ModuleSearchRegistrationContext |
registerStopWords(StopWordsDeclaration aDeclaration,
List<String> stopWords)
Registers a new list of stop words under a given declaration.
|
ModuleSearchRegistrationContext |
registerSynonyms(SynonymDeclaration aDeclaration,
List<SynonymPair> someSynonyms)
Registers a new list of synonyms under a given declaration.
|
String getModuleName()
ModuleSearchRegistrationContext registerSearchTemplate(Supplier<SearchTemplate> aSearchTemplate)
Configure the template in the
Search extension in the DMA.
IllegalArgumentException - if:
null.template .SearchTemplateModuleSearchRegistrationContext registerStopWords(StopWordsDeclaration aDeclaration, List<String> stopWords)
Use the key in the declaration when configuring a field-level
search strategy in the Search extension in the DMA.
IllegalArgumentException - if:
null.ModuleSearchRegistrationContext registerSynonyms(SynonymDeclaration aDeclaration, List<SynonymPair> someSynonyms)
Use the key in the declaration when configuring a field-level search strategy
in the Search extension in the DMA.
IllegalArgumentException - if:
null.