Weather

data class Weather(val score: Double, val minKeywordLength: Int) : SuggestProviderConfig

Constructors

Link copied to clipboard
constructor(score: Double, minKeywordLength: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Threshold for weather keyword prefix matching when a weather keyword is the first term in a query. Zero means prefix matching is disabled and weather keywords must be typed in full when they are first in the query. (Ideally this would be an Option and None would mean full keywords are required, but it's probably not worth the breaking API change.) This threshold does not apply to city and region names.

Link copied to clipboard

Weather suggestion score.