Class MockSolrAutoCompleteService
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.suggester.impl.MockSolrAutoCompleteService
-
- All Implemented Interfaces:
SolrAutoSuggestService
public class MockSolrAutoCompleteService extends java.lang.Object implements SolrAutoSuggestService
Mock ofSolrAutoSuggestService
-
-
Constructor Summary
Constructors Constructor Description MockSolrAutoCompleteService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrSuggestiongetAutoSuggestionsForQuery(LanguageModel language, SolrIndexedTypeModel indexedType, java.lang.String queryInput)Returns solr's suggestions based on the indexed type, language and user's input.
-
-
-
Method Detail
-
getAutoSuggestionsForQuery
public SolrSuggestion getAutoSuggestionsForQuery(LanguageModel language, SolrIndexedTypeModel indexedType, java.lang.String queryInput)
Description copied from interface:SolrAutoSuggestServiceReturns solr's suggestions based on the indexed type, language and user's input. Suggestions come from dictionary build per indexed type and which is based on the fields which are marked for building the dictionary.- Specified by:
getAutoSuggestionsForQueryin interfaceSolrAutoSuggestService- Parameters:
language- - the languageindexedType- - the indexed typequeryInput- -the query- Returns:
SolrSuggestion
-
-