Adds an index with a given index type. Use IndexType for a type-safe setting of the string.
the name of the field to index
the index type to use
this IndexModel instance (caller)
See Implementation
Adds an index with a given index type. Use IndexType for a type-safe setting of the string.