"Indexing Metadata Information" is inaccurate

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 )

Environment

None

Release Notes Description

None

Activity

Show:

Simon Dew April 2, 2020 at 4:30 PM
Edited

According to , xattrs are unsupported in N1QL , so xattrs property will remain undocumented.

Simon Dew April 2, 2020 at 1:52 PM

Moving the complete description of the META() function to the Functions section in order to document all possible options.

Simon Dew March 27, 2020 at 5:32 PM

Adding to 6.5.1 because it is related to

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Simon Dew

Reporter

Labels

Story Points

Components

Sprint

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created February 9, 2019 at 4:25 AM
Updated April 24, 2020 at 9:25 PM
Resolved April 9, 2020 at 3:55 PM
Instabug
Loading...