Method SetQuery
SetQuery<TMember>(Expression<Func<TDocument, TMember>>, TMember)
Sets the query on the optional additional field.
public static GeoHaystackSearchOptionsBuilder<TDocument> SetQuery<TMember>(Expression<Func<TDocument, TMember>> memberExpression, TMember value)
Parameters
memberExpression
Expression<Func<TDocument, TMember>>The member expression.
value
TMemberThe value fo the additional field.
Returns
- GeoHaystackSearchOptionsBuilder<TDocument>
The builder (so method calls can be chained).
Type Parameters
TMember
The member type.