Note
For details on a specific method, including syntax and examples, click on the link to the method'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, while Vector Search indexes let you query data in Vector Search. MongoDB搜索索引允许您在MongoDB搜索中查询数据,而矢量搜索索引则允许您在矢量搜索中查询。MongoDB Search and Vector Search indexes enable performant text search queries by mapping search terms to the documents that contain those terms.MongoDB搜索和矢量搜索索引通过将搜索词映射到包含这些词的文档,实现了高性能的文本搜索查询。
Use the following methods to manage MongoDB Search and Vector Search indexes.使用以下方法管理MongoDB搜索和矢量搜索索引。
db.collection.createSearchIndex() | |
db.collection.dropSearchIndex() | |
db.collection.getSearchIndexes() |
|
db.collection.updateSearchIndex() |