Description
In the [specification|https://docs.couchbase.com/server/6.5/n1ql/n1ql-language-reference/createindex.html] there has a chance to index a separated subset of the documents with WHERE condition, but gocb's (BucketManager) CreateIndex (in older version) doesn't support this feature.
Newer version: Same issue in QueryIndexManager's CreateIndex