File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -323,10 +323,10 @@ public class Query : NSObject, NSCopying {
323323 }
324324 // NOTE: Objective-C bridge moved away to `_objc_Query`
325325
326- /// List of attributes you want to use for textual search (must be a subset of the attributesToIndex index setting).
326+ /// List of attributes you want to use for textual search (must be a subset of the `searchableAttributes` index setting).
327327 /// Attributes are separated with a comma (for example "name,address" ), you can also use a JSON string array
328328 /// encoding (for example encodeURIComponent('["name","address"]') ). By default, all attributes specified in
329- /// attributesToIndex settings are used to search.
329+ /// `searchableAttributes` settings are used to search.
330330 @objc public var restrictSearchableAttributes : [ String ] ? {
331331 get { return Query . parseStringArray ( self [ " restrictSearchableAttributes " ] ) }
332332 set { self [ " restrictSearchableAttributes " ] = Query . buildJSONArray ( newValue) }
@@ -432,7 +432,7 @@ public class Query : NSObject, NSCopying {
432432 }
433433 // NOTE: Objective-C bridge moved away to `_objc_Query`
434434
435- /// List of attributes on which you want to disable typo tolerance (must be a subset of the `attributesToIndex `
435+ /// List of attributes on which you want to disable typo tolerance (must be a subset of the `searchableAttributes `
436436 /// index setting).
437437 @objc public var disableTypoToleranceOnAttributes : [ String ] ? {
438438 get { return Query . parseStringArray ( self [ " disableTypoToleranceOnAttributes " ] ) }
You can’t perform that action at this time.
0 commit comments