Adds an index with a given index type. Use IndexType for a type-safe setting of the string.
Adds a single field or multikey index with a direction.
Sets the options member of this IndexModel.
See Implementation