mongocli atlas cluster fts index create
Create a search index for a cluster
Options
Name | Description |
---|---|
--analyzer <analyzer> | Analyzer to use when creating the index |
--clusterName <clusterName> |
|
--collection <collection> | Collection name |
--db <db> | Database name |
--dynamic | Indicates 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 |