SearchQueryConfiguration

public struct SearchQueryConfiguration

Defines essential attributes of the search query

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Default limit of search results.

    Declaration

    Swift

    public static let defaultLimit: Int
  • Commands that can be used to perform certain actions for certain terms entered into the search field.

    Declaration

    Swift

    public let developerCommands: [SearchDeveloperCommand]
  • Fuzziness level. Ranges from 1 to 4 and defaults to 2.

    Declaration

    Swift

    public let fuzzyLevel: Int?
  • Maximum number of search results.

    Declaration

    Swift

    public let limit: Int
  • Search radius relative to user position. This parameter will be used only if the user position is available.

    Declaration

    Swift

    public let radius: Int?
  • Locale of the search results.

    Declaration

    Swift

    public let locale: Locale
  • A provider of the last user location.

    Declaration

    Swift

    public let lastLocationProvider: LastUserLocationProviderProtocol?