Method SetQuery
SetQuery(string, BsonValue)
Sets the query on the optional additional field.
public GeoHaystackSearchOptionsBuilder SetQuery(string additionalFieldName, BsonValue value)
Parameters
additionalFieldName
stringThe name of the additional field.
value
BsonValueThe value fo the additional field.
Returns
- GeoHaystackSearchOptionsBuilder
The builder (so method calls can be chained).