Kapil
Kapil

Reputation: 103

Can we use the selector field in the Cloudant query index

If i want to limit the cloudant query 'index' to certain set of documents, can i apply a selector clause at the index creation time, the same way we apply the selector clause at the time of Cloudant query. Otherwise it ends up creating index for the specified field for the whole database.

Upvotes: 1

Views: 396

Answers (1)

rhyshort
rhyshort

Reputation: 1453

Yes you can. However it is only for text indexes. See the documentation here.

Upvotes: 1

Related Questions