RiakBucketPropertiesSetSearch Method |
Note: This API is now obsolete.
Fluent setter for the
LegacySearch property.
Enable or disable legacy search on a bucket.
Namespace:
RiakClient.Models
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax [ObsoleteAttribute("SetSearch is deprecated, please use SetLegacySearch instead.",
true)]
public RiakBucketProperties SetSearch(
bool enable,
bool addHooks = false
)
[<ObsoleteAttribute("SetSearch is deprecated, please use SetLegacySearch instead.",
true)>]
member SetSearch :
enable : bool *
?addHooks : bool
(* Defaults:
let _addHooks = defaultArg addHooks false
*)
-> RiakBucketProperties
Parameters
- enable
- Type: SystemBoolean
Set to true to enable legacy search on this bucket, or false to disable it.
- addHooks (Optional)
- Type: SystemBoolean
Set to true to add pre commit hook.
Return Value
Type:
RiakBucketPropertiesA reference to the current properties object.
See Also