Details
-
Bug
-
Resolution: Fixed
-
Major
-
Server 5.5/Vulcan, 6.x Doc Updates
-
DOC-2020-S6-Apr05, DOC-2020-S7-Apr19
-
1
Description
https://docs.couchbase.com/server/5.5/n1ql/n1ql-language-reference/indexing-meta-info.html
https://docs.couchbase.com/server/6.0/n1ql/n1ql-language-reference/indexing-meta-info.html
Above articles mention indexable meta() attributes as .cas, .expiration, .flags, .id and .type
But only indexable meta() fields are "id", "expiration", "cas", "xattrs" . In case of xattrs, it is specific field with xattr. We dont allow indexing on flags and type.
Above documentation needs to fixed. Also indexing on flags/type gives error -
Expression not indexable: (meta().`type`) - at )