Package org.alfresco.repo.search.impl
Class DummySuggesterServiceImpl
- java.lang.Object
-
- org.alfresco.repo.search.impl.DummySuggesterServiceImpl
-
- All Implemented Interfaces:
SuggesterService
public class DummySuggesterServiceImpl extends java.lang.Object implements SuggesterService
Dummy Suggester- Since:
- 5.0
- Author:
- Jamal Kaabi-Mofrad
-
-
Constructor Summary
Constructors Constructor Description DummySuggesterServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuggesterResultgetSuggestions(SuggesterParameters suggesterParameters)Get suggestions for the specified termSuggesterParameters.termbooleanisEnabled()Whether the Suggester is enabled (refer to 'solr.suggester.enabled' repository property) or not
-
-
-
Method Detail
-
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
public SuggesterResult getSuggestions(SuggesterParameters suggesterParameters)
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
-
-