Method | Description | |
---|---|---|
GeoHaystackSearchOptionsBuilder ( ) : System |
Initializes a new instance of the GeoHaystackSearchOptionsBuilder class.
|
|
SetLimit ( int value ) : |
Sets the maximum number of results to return.
|
|
SetMaxDistance ( double value ) : |
Sets the max distance.
|
|
SetQuery ( string additionalFieldName, BsonValue value ) : |
Sets the query on the optional additional field.
|
|
ToBsonDocument ( ) : BsonDocument |
Returns the result of the builder as a BsonDocument.
|
Method | Description | |
---|---|---|
Serialize ( BsonWriter bsonWriter, |
Serializes the result of the builder to a BsonWriter.
|
public GeoHaystackSearchOptionsBuilder ( ) : System | ||
return | System |
protected Serialize ( BsonWriter bsonWriter, |
||
bsonWriter | BsonWriter | The writer. |
nominalType | The nominal type. | |
options | IBsonSerializationOptions | The serialization options. |
return | void |
public SetLimit ( int value ) : |
||
value | int | The maximum number of results to return. |
return |
public SetMaxDistance ( double value ) : |
||
value | double | The max distance. |
return |
public SetQuery ( string additionalFieldName, BsonValue value ) : |
||
additionalFieldName | string | The name of the additional field. |
value | BsonValue | The value fo the additional field. |
return |