Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-4752

"Indexing Metadata Information" is inaccurate

    XMLWordPrintable

Details

    • 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 )

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              simon.dew Simon Dew
              prathibha Prathibha Bisarahalli (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty