mongocli om cluster index create

Create a rolling index for your MongoDB cluster

Options

NameDescription
--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
--backwardsFlag 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
--caseLevelFlag that indicates whether the index uses case comparison. This flag applies only if the strength level is set to 1 or 2
--collectionName <collectionName>
  • Required ✳
--db <db>
  • Required ✳
--key <key>
  • Required ✳
--locale <locale>Locale that the ICU defines
--normalizationFlag that, if set to true, collation checks if text requires normalization and performs normalization to compare text
--numericOrderingFlag 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>
  • Required ✳
--sparseFlag that indicates whether Atlas should create a sparse index
--strength <strength>Level of comparison to perform