Setting
public struct Setting : Codable, Equatable
Settings object provided byb the user
-
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]?
-
init(rankingRules:
searchableAttributes: displayedAttributes: stopWords: synonyms: distinctAttribute: filterableAttributes: sortableAttributes: ) Undocumented
Declaration
Swift
public init( rankingRules: [String]? = nil, searchableAttributes: [String]? = nil, displayedAttributes: [String]? = nil, stopWords: [String]? = nil, synonyms: [String: [String]]? = nil, distinctAttribute: String? = nil, filterableAttributes: [String]? = nil, sortableAttributes: [String]? = nil )