Method SetWildcardProjection
SetWildcardProjection<TMember>(Expression<Func<TDocument, TMember>>, bool)
Sets the wildcardProjection for the index.
public IndexOptionsBuilder<TDocument> SetWildcardProjection<TMember>(Expression<Func<TDocument, TMember>> memberExpression, bool included)
Parameters
memberExpression
Expression<Func<TDocument, TMember>>The member expression representing the wildcard projection field name.
included
boolThe flag determines whether the field should be included or excluded from wildcard projecting.
Returns
- IndexOptionsBuilder<TDocument>
The builder (so method calls can be chained).
Type Parameters
TMember
The type of the member.