[英]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.