mongocli atlas cluster fts index create

Create a search index for a cluster


--analyzer <analyzer>Analyzer to use when creating the index
--clusterName <clusterName>
  • Required ✳
--collection <collection>Collection name
--db <db>Database name
--dynamicIndicates whether the index uses dynamic or static mappings
--field <field>Static field specifications
--file, -f <file>File name to use, file with a json index configuration
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--searchAnalyzer <searchAnalyzer>Analyzer to use when searching the index