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

drop index doc incorrect/unclear

    XMLWordPrintable

Details

    Description

      From tests, it appears that the correct syntax for DROP is
      DROP INDEX ON [namespace:]keyspace(indexName[, indexName]*)

      This is not consistent in the documentation, syntax in wrong while example is correct.

      Also, the documentation is unclear when stating that indexName is optional/can have at most one empty value. From tests, it appears that BUILD INDEX ON always needs at least one (never empty) index name.

      Maybe also add clarification on how to do that for primary indexes as well (since they are mentioned in the intro), ie. use "#primary" as indexName.

      Attachments

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

        Activity

          People

            amarantha.kulkarni Amarantha Kulkarni (Inactive)
            simonbasle Simon Baslé (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