Suggest Options
data class SuggestOptions(var providers: List<String>?, var source: String?, var country: String?, var region: String?, var city: String?, var clientVariants: List<String>?, var requestType: String?, var acceptLanguage: String?)
Options for a suggest request, mapped to merino suggest endpoint query parameters. All fields are optional — omitted fields are not sent to merino.
Constructors
Properties
Link copied to clipboard
The Accept-Language header value to forward to Merino (e.g. "en-US").
Link copied to clipboard
List of any experiments or rollouts that are affecting the client's Suggest experience. If Merino recognizes any of them it will modify its behavior accordingly.
Link copied to clipboard
For AccuWeather provider, the request type should be either a "location" or "weather" string. For "location" it will get location completion suggestion. For "weather" it will return weather suggestions. If omitted, it defaults to weather suggestions.