CBLFullTextIndexConfiguration
@interface CBLFullTextIndexConfiguration : CBLIndexConfiguration
Configuration for creating full-text indexes.
-
Set the true value to ignore accents/diacritical marks.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL ignoreAccents;
-
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
Objective-C
@property (nonatomic, readonly, nullable) NSString *language;
-
Constructor for creating a full-text index by using an array of expression strings
Declaration
Objective-C
- (nonnull instancetype)initWithExpression: (nonnull NSArray<NSString *> *)expressions ignoreAccents:(BOOL)ignoreAccents language:(NSString *_Nullable)language;