File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Sources/AlgoliaSearch-Client Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,12 @@ open class Query: AbstractQuery {
208208 get { return Query . parseBool ( self [ " clickAnalytics " ] ) }
209209 set { self [ " clickAnalytics " ] = Query . buildBool ( newValue) }
210210 }
211+
212+ /// If set to false, this query will not be taken into account for the Personalization.
213+ public var enablePersonalization : Bool ? {
214+ get { return Query . parseBool ( self [ " enablePersonalization " ] ) }
215+ set { self [ " enablePersonalization " ] = Query . buildBool ( newValue) }
216+ }
211217
212218 /// If set, tag your query with the specified identifiers. Tags can then be used in the Analytics to analyze a
213219 /// subset of searches only.
@@ -967,6 +973,12 @@ open class Query: AbstractQuery {
967973 get { return AbstractQuery . toNumber ( clickAnalytics) }
968974 set { clickAnalytics = newValue? . boolValue }
969975 }
976+
977+ @objc ( enablePersonalization)
978+ public var z_objc_enablePersonalization : NSNumber ? {
979+ get { return AbstractQuery . toNumber ( enablePersonalization) }
980+ set { enablePersonalization = newValue? . boolValue }
981+ }
970982
971983 @objc ( synonyms)
972984 public var z_objc_synonyms : NSNumber ? {
You can’t perform that action at this time.
0 commit comments