FullTextIndexConfiguration
public class FullTextIndexConfiguration : IndexConfiguration, IndexConfigConvertable
Undocumented
-
Gets the expressions to use to create the index.
Declaration
Swift
public var expressions: [String] { get }
-
Set the true value to ignore accents/diacritical marks. The default value is
FullTextIndexConfiguration.defaultIgnoreAccents
.Declaration
Swift
public var ignoreAccents: Bool { get }
-
The language code which is an ISO-639 language such as “en”, “fr”, etc. Setting the language code affects how word breaks and word stems are parsed. Without setting the value, the current locale’s language will be used. Setting a nil or “” value to disable the language features.
Declaration
Swift
public var language: String? { get }
-
Constructor for creating a full-text index by using an array of N1QL expression strings
Declaration
Swift
public init(_ expressions: [String], ignoreAccents: Bool? = FullTextIndexConfiguration.defaultIgnoreAccents, language: String? = nil)
-
[false] Accents and ligatures are not ignored when indexing via full text search
Declaration
Swift
static let defaultIgnoreAccents: Bool