mongocli om cluster index create
Create a rolling index for your MongoDB cluster
Options
Name | Description |
---|---|
--MaxVariable <MaxVariable> | Flag that, if specified, determines which characters to ignore. This flag applies only if indexConfigs.collation.alternate is set to shifted |
--alternate <alternate> | Flag that, if specified, determines whether collation should consider whitespace and punctuation as base characters during comparisons |
--backwards | Flag that, if set to true, strings with diacritics sort from the back to the front of the string |
--caseFirst <caseFirst> | Flag that, if specified, determines the sort order of case differences during tertiary level comparisons |
--caseLevel | Flag that indicates whether the index uses case comparison. This flag applies only if the strength level is set to 1 or 2 |
--collectionName <collectionName> |
|
--db <db> |
|
--key <key> |
|
--locale <locale> | Locale that the ICU defines |
--normalization | Flag that, if set to true, collation checks if text requires normalization and performs normalization to compare text |
--numericOrdering | Flag that, if set to true, indicates that collation compares numeric strings as numbers. If set to false, collation compares numeric strings as strings |
--projectId <projectId> | Project ID to use. Overrides the settings in the configuration file or environment variable |
--rsName <rsName> |
|
--sparse | Flag that indicates whether Atlas should create a sparse index |
--strength <strength> | Level of comparison to perform |