"Indexing Metadata Information" is inaccurate
Description
Environment
None
Release Notes Description
None
relates to
Activity
Show:
Simon Dew April 2, 2020 at 4:30 PMEdited
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
Reporter
Prathibha Bisarahalli
Prathibha BisarahalliLabels
Story Points
1
Components
Sprint
None
Fix versions
Affects versions
Priority
Major
Instabug
Open Instabug
PagerDuty
PagerDuty Incident
PagerDuty Incident
Sentry
Linked Issues
Linked Issues
Zendesk Support
Linked Tickets
Linked Tickets
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
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 )