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

Wrong index definition on Adaptive Index documentation examples

    XMLWordPrintable

Details

    • 1

    Description

      On page:

      https://developer.couchbase.com/documentation/server/current/n1ql/n1ql-language-reference/adaptive-indexing.html 

      It says:

      C1: CREATE INDEX `def_airportname` ON `travel-sample`(`airportname`) WHERE type = "airport" 
       
      C2: CREATE INDEX `def_city` ON `travel-sample`(`city`) WHERE type = 
      "airport"
       
      C3: CREATE INDEX `def_faa` ON `travel-sample`(`faa`) WHERE type = "airport"

      It should say:

       

      C1: CREATE INDEX `def_airportname` ON `travel-sample`(`airportname`) 
      C2: CREATE INDEX `def_city` ON `travel-sample`(`city`) 
      C3: CREATE INDEX `def_faa` ON `travel-sample`(`faa`)
      

       

      Actual index do not include: WHERE type = "airport"

       

       

      Attachments

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

        Activity

          People

            simon.dew Simon Dew
            manuel.hurtado Manuel Hurtado (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty