Method Geo2D
Geo2D(FieldDefinition<TDocument>)
Creates a 2d index key definition.
public IndexKeysDefinition<TDocument> Geo2D(FieldDefinition<TDocument> field)
Parameters
field
FieldDefinition<TDocument>The field.
Returns
- IndexKeysDefinition<TDocument>
A 2d index key definition.
Geo2D(Expression<Func<TDocument, object>>)
Creates a 2d index key definition.
public IndexKeysDefinition<TDocument> Geo2D(Expression<Func<TDocument, object>> field)
Parameters
field
Expression<Func<TDocument, object>>The field.
Returns
- IndexKeysDefinition<TDocument>
A 2d index key definition.