Optional
estimates?: booleanIf set to false
, index selectivity estimates will be disabled for this
index.
Default: true
Data type of the dimension attributes.
An array of attribute names used as a search prefix.
Optional
sparse?: booleanIf set to true
, the index will omit documents that do not contain at
least one of the attribute paths in fields
and these documents will be
ignored for uniqueness checks.
Default: false
Optional
storedAn array of attribute paths that will be stored in the index but can not be used for index lookups or sorting but can avoid full document lookups.
Optional
unique?: booleanIf set to true
, a unique index will be created.
Default: false
Options for creating a prefixed MDI index.