简体   繁体   English

如何在 Atlas mongoDB 中创建特定于集合的搜索索引?

[英]How to create a collection specific search index in Atlas mongoDB?

I am trying to create a collection specific search index in the atlas MongoDB but not able to find a way.我正在尝试在 atlas MongoDB 中创建一个特定于集合的搜索索引,但无法找到方法。

Found this documentation: https://docs.atlas.mongodb.com/reference/api/atlas-search/#atlas-search-api-ref找到这个文档: https : //docs.atlas.mongodb.com/reference/api/atlas-search/#atlas-search-api-ref

but the API they mentioned will create indexed on cluster level但是他们提到的 API 将在集群级别创建索引

/groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/fts/indexes/

Can someone guide me on how I will create a collection specific search index via script?有人可以指导我如何通过脚本创建特定于集合的搜索索引吗?

当您使用api 端点时,您必须提供集合名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Atlas MongoDb 上使用 typeorm 创建数据库集合? - How to create database collection with typeorm on Atlas MongoDb? 如何在 MongoDB 中正确创建索引以在整个集合中进行搜索? - How to create index properly in MongoDB to search in entire one collection? MongoDB Atlas 性能/收集和索引限制 - MongoDB Atlas performance / collection and index limits MongoDB Atlas Search index on normalized/indexed model - MongoDB Atlas Search index on normalized/indexed model MongoDB Atlas 搜索自动完成索引错误评分 - MongoDB Atlas Search autocomplete index wrong scoring Mongo db atlas search:在嵌入式文档上创建 atlas 搜索索引 - Mongo db atlas search: create atlas search index on embedded document 如何将 MongoDB-atlas 集合中的特定文档与存储在同一集群中不同集合中的文档相关联? - How do I associate specific documents in a collection in MongoDB-atlas to documents that are stored in a different collection in the same cluster? MongoDB Atlas 搜索 - 如何过滤搜索分数 - MongoDB Atlas Search - How to filter search score 如何在 mongodb atlas 中使用 nodejs 进行 mongoexport 收集 - how to do a mongoexport in nodejs for collection in mongodb atlas Pymodm-Mongodb,如何在集合中创建索引 - Pymodm - Mongodb, How to create an index in a collection
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM