Table of Contents

Method SetBucketSize

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

SetBucketSize(double)

Sets the bucket size for geospatial haystack indexes.

[Obsolete("GeoHaystack indexes were deprecated in server version 4.4.")]
public IndexOptionsBuilder<TDocument> SetBucketSize(double value)

Parameters

value double

The bucket size.

Returns

IndexOptionsBuilder<TDocument>

The builder (so method calls can be chained).