Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-63340

Create vector index failed, but index was partially created and can't be dropped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Cypher
    • Cypher
    • secondary-index
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      Build 1124 - Using the rgb dataset.
      1. This DDL failed: CREATE INDEX adv_colorvect_l2VECTOR_color ON `default`:`vector`.`color`.`rgb`(`colorvect_l2` VECTOR ) WITH

      { 'dimension': 3, 'similarity': 'l2', 'description': 'IVF,SQ8' }

      [
      {
      "code": 5000,
      "msg": "Invalid vector similarity seen for index with defnId: 1901708147898987144, defn's similarity: l2",
      "reason": {
      "_level": "exception",
      "caller": "secondary_index:1115",
      "cause":

      { "error": "Invalid vector similarity seen for index with defnId: 1901708147898987144, defn's similarity: l2" }

      ,
      "code": 4350,
      "key": "indexing.error",
      "message": "Invalid vector similarity seen for index with defnId: 1901708147898987144, defn's similarity: l2"
      },
      "query": "CREATE INDEX adv_colorvect_l2VECTOR_color ON `default`:`vector`.`color`.`rgb`(`colorvect_l2` VECTOR ) WITH

      { 'dimension': 3, 'similarity': 'l2', 'description': 'IVF,SQ8' }

      "
      }
      ]

      2. But the index appeared to be partially created, but when I tried to drop the index, I got the same error this error.

      [
      {
      "code": 5000,
      "msg": "Invalid vector similarity seen for index with defnId: 1901708147898987144, defn's similarity: l2",
      "reason": {
      "_level": "exception",
      "caller": "secondary_index:1115",
      "cause":

      { "error": "Invalid vector similarity seen for index with defnId: 1901708147898987144, defn's similarity: l2" }

      ,
      "code": 4350,
      "key": "indexing.error",
      "message": "Invalid vector similarity seen for index with defnId: 1901708147898987144, defn's similarity: l2"
      },
      "query": "/* CREATE INDEX adv_colorvect_l2VECTOR_color ON `default`:`vector`.`color`.`rgb`(`colorvect_l2` VECTOR ) WITH

      { 'dimension': 3, 'similarity': 'l2', 'description': 'IVF,SQ8' }

      \n*/\ndrop index adv_colorvect_l2VECTOR_color ON `default`:`vector`.`color`.`rgb`;"
      }
      ]

      Attachments

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

        Activity

          People

            varun.velamuri Varun Velamuri
            binh.le Binh Le
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty