Pipelet: Search GetSearchSuggestions

Pipelet GetSearchSuggestions

This pipelines runs a (partial) user query phrase against the product suggestion index and retrieves useful completions for that search phrase.

Group:

Search

Input Parameters

SearchPhrase : String Optional

The partial user search phrase as typed in the search box.

MaxSuggestions : Number Optional

The number of suggestions to return (default is 10 and maximum is 20).

Output Parameters

Suggestions : LinkedHashMap : Optional

A sorted map keyed by the suggestion text mapping to the expected product hit count for that suggestion.