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

REST API for CREATE INDEX has the UUID which causes fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • bug-backlog
    • 6.5.0
    • fts
    • None
    • Untriaged
    • Unknown

    Description

      FTS CREATE INDEX
      Index Definition Preview suggest this.
      When Used this in REST API it worked fine.
      Now drop the bucket and re-create it and run again. previous definitions it returns error.
      This may be due to UUID.

       
      {
       "name": "fix1",
       "type": "fulltext-index",
       "params": {
        "mapping": {
         "default_mapping": {
          "enabled": true,
          "dynamic": true
         },
         "default_type": "_default",
         "default_analyzer": "standard",
         "default_datetime_parser": "dateTimeOptional",
         "default_field": "_all",
         "store_dynamic": false,
         "index_dynamic": true
        },
        "store": {
         "indexType": "scorch",
         "kvStoreName": ""
        },
        "doc_config": {
         "mode": "type_field",
         "type_field": "type",
         "docid_prefix_delim": "",
         "docid_regexp": ""
        }
       },
       "sourceType": "couchbase",
       "sourceName": "travel-sample",
       "sourceUUID": "cefe5bec091c3c27b8b299fa11f48b63",
       "sourceParams": {},
       "planParams": {
        "maxPartitionsPerPIndex": 171,
        "numReplicas": 0
       },
       "uuid": ""
      }
      

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            Sitaram.Vemulapalli Sitaram Vemulapalli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty