Class MockSolrAutoCompleteService
java.lang.Object
de.hybris.platform.solrfacetsearch.suggester.impl.MockSolrAutoCompleteService
- All Implemented Interfaces:
SolrAutoSuggestService
Mock of
SolrAutoSuggestService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAutoSuggestionsForQuery(LanguageModel language, SolrIndexedTypeModel indexedType, String queryInput) Returns solr's suggestions based on the indexed type, language and user's input.
-
Constructor Details
-
MockSolrAutoCompleteService
public MockSolrAutoCompleteService()
-
-
Method Details
-
getAutoSuggestionsForQuery
public SolrSuggestion getAutoSuggestionsForQuery(LanguageModel language, SolrIndexedTypeModel indexedType, 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
-