Method GeoSpatialHaystack
GeoSpatialHaystack(string)
Sets the key name to create a geospatial haystack index on.
[Obsolete("GeoHaystack indexes were deprecated in server version 4.4.")]
public IndexKeysBuilder GeoSpatialHaystack(string name)
Parameters
name
stringThe key name.
Returns
- IndexKeysBuilder
The builder (so method calls can be chained).
GeoSpatialHaystack(string, string)
Sets the key name and additional field name to create a geospatial haystack index on.
[Obsolete("GeoHaystack indexes were deprecated in server version 4.4.")]
public IndexKeysBuilder GeoSpatialHaystack(string name, string additionalName)
Parameters
Returns
- IndexKeysBuilder
The builder (so method calls can be chained).