Note
For details on a specific command, including syntax and examples, click on the link to the command's reference page.有关特定命令的详细信息,包括语法和示例,请单击指向该命令参考页面的链接。
New in version 7.0.在版本7.0中新增。 (Also available starting in 6.0.7从6.0.7开始也可用)
MongoDB Search indexes let you query data in MongoDB Search. MongoDB Search indexes enable performant text search queries by mapping search terms to the documents that contain those terms.MongoDB搜索索引允许您在MongoDB搜索中查询数据。MongoDB搜索索引通过将搜索词映射到包含这些词的文档来实现高性能的文本搜索查询。
Use the following database commands to manage MongoDB Search indexes.使用以下数据库命令来管理MongoDB搜索索引。
Important
This command can only be run on a deployment hosted on MongoDB Atlas, and is not supported in serverless instances.此命令只能在MongoDB Atlas上托管的部署上运行,在无服务器实例中不受支持。
createSearchIndexes | |
dropSearchIndex | |
updateSearchIndex |