RiakBucketPropertiesSetLegacySearch Method |
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 public RiakBucketProperties SetLegacySearch(
bool enable,
bool addHooks = false
)
member SetLegacySearch :
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