我们可以在 Cloudant 查询索引中使用选择器字段吗

Can we use the selector field in the Cloudant query index

如果我想将 cloudant 查询 'index' 限制为特定文档集,我可以在创建索引时应用选择器子句吗,就像我们在 Cloudant 查询时应用选择器子句一样. 否则它最终会为整个数据库的指定字段创建索引。

是的,你可以。但是,它仅适用于文本索引。见documentation here