对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
Docs 菜单

滚动索引配置文件

您可以使用滚动索引配置文件来指定使用Atlas CLI创建滚动索引时所需的设置。 Atlas CLI接受.json滚动索引配置文件。

When you create one rolling index using a configuration file, you can specify any settings that are listed in Create One Rolling Index under Request Body Schema.

提示

请参阅:滚动索引文件示例

请按照以下步骤使用配置文件创建一个滚动索引:

1
  1. Navigate to the Create One Rolling Index section of the Atlas Admin API specification.

  2. 在右侧的Request samples下,单击Expand all 。

  3. 单击Copy ,复制样本请求。

2
  1. 将示例请求粘贴到文本编辑器中,并更改值以反映所需的配置。

  2. 使用.json扩展名保存文件。

3

使用 --file 选项运行Atlas clusters 搜索 nodes create命令。

使用--file标志指定保存的文件的路径。

给本页内容打分