Setting

public struct Setting : Codable, Equatable

Settings object provided byb the user

Properties

  • List of ranking rules for a given Index.

    Declaration

    Swift

    public let rankingRules: [String]?
  • List of searchable attributes for a given Index.

    Declaration

    Swift

    public let searchableAttributes: [String]?
  • List of displayed attributes for a given Index.

    Declaration

    Swift

    public let displayedAttributes: [String]?
  • List of stop-words for a given Index.

    Declaration

    Swift

    public let stopWords: [String]?
  • List of synonyms and its values for a given Index.

    Declaration

    Swift

    public let synonyms: [String : [String]]?
  • Optional distinct attribute set for a given Index.

    Declaration

    Swift

    public let distinctAttribute: String?
  • List of attributes used for filtering

    Declaration

    Swift

    public let filterableAttributes: [String]?
  • List of attributes used for sorting

    Declaration

    Swift

    public let sortableAttributes: [String]?

Initializers