Package org.alfresco.repo.search.impl
Class DummySuggesterServiceImpl
java.lang.Object
org.alfresco.repo.search.impl.DummySuggesterServiceImpl
- All Implemented Interfaces:
SuggesterService
Dummy Suggester
- Since:
- 5.0
- Author:
- Jamal Kaabi-Mofrad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSuggestions(SuggesterParameters suggesterParameters) Get suggestions for the specified termSuggesterParameters.termbooleanWhether the Suggester is enabled (refer to 'solr.suggester.enabled' repository property) or not
-
Constructor Details
-
DummySuggesterServiceImpl
public DummySuggesterServiceImpl()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Description copied from interface:SuggesterServiceWhether the Suggester is enabled (refer to 'solr.suggester.enabled' repository property) or not- Specified by:
isEnabledin interfaceSuggesterService- Returns:
- true if the Suggester is enabled, false otherwise
-
getSuggestions
Description copied from interface:SuggesterServiceGet suggestions for the specified termSuggesterParameters.term- Specified by:
getSuggestionsin interfaceSuggesterService- Parameters:
suggesterParameters- the parameters to use- Returns:
- term suggestions result. Never null
-