Method Wildcard
Wildcard(Expression<Func<TDocument, object>>)
Sets a wildcard key to the index.
public IndexKeysBuilder<TDocument> Wildcard(Expression<Func<TDocument, object>> memberExpression = null)
Parameters
memberExpression
Expression<Func<TDocument, object>>The member expression representing the wildcard key name. If the wildcard name is empty, the generated key will be
All field paths
, otherwiseA single field path
.
Returns
- IndexKeysBuilder<TDocument>
The builder (so method calls can be chained).