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.

Public

  • 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]
  • Minimum fuzziness level.

    Declaration

    Swift

    public let minFuzzyLevel: Int?
  • Maximum fuzziness level.

    Declaration

    Swift

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

    Declaration

    Swift

    public let limit: Int
  • If the “typeahead” flag is set, the query will be interpreted as a partial input and the search will enter predictive mode.

    Declaration

    Swift

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

    Declaration

    Swift

    public let radius: Int?
  • Language of the search results. List of supported languages:

    Declaration

    Swift

    public let language: String?
  • A provider of the last user location.

    Declaration

    Swift

    public let lastLocationProvider: LastUserLocationProviderProtocol?