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

[FTS] Change default index KV store to MossStore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.0
    • 4.6.0
    • fts
    • Untriaged
    • Release Note
    • Unknown

    Description

      Change default KV store for full text indexes to MossStore. The setting “kvStoreName” is per index, so index definitions created earlier with "forestdb" and restored manually or using backup restore will not change. They can be changed by changing the index definition manually to "mossStore" and saving them.

      http://review.couchbase.org/#/c/64874/

          // old default value
          "store": {
            "kvStoreName": "forestdb"
          }
      

          // new default value
          "store": {
            "kvStoreName": "mossStore"
          }
      

      // full sample index definition
      {
        "type": "fulltext-index",
        "name": "hotel",
        "uuid": "336fd83065decb4b",
        "sourceType": "couchbase",
        "sourceName": "travel-sample",
        "sourceUUID": "ab06af37bd8bd0b6b3eb8f8cf7ab31e4",
        "planParams": {
          "maxPartitionsPerPIndex": 32,
          "numReplicas": 0,
          "hierarchyRules": null,
          "nodePlanParams": null,
          "pindexWeights": null,
          "planFrozen": false
        },
        "params": {
          "doc_config": {
            "mode": "type_field",
            "type_field": "type"
          },
          "mapping": {
            "default_analyzer": "standard",
            "default_datetime_parser": "dateTimeOptional",
            "default_field": "_all",
            "default_mapping": {
              "display_order": "1",
              "dynamic": true,
              "enabled": false
            },
            "default_type": "_default",
            "index_dynamic": true,
            "store_dynamic": true,
            "type_field": "type",
            "types": {
              "hotel": {
                "display_order": "0",
                "dynamic": true,
                "enabled": true
              }
            }
          },
          "store": {
            "kvStoreName": "mossStore"
          }
        },
        "sourceParams": {
          "clusterManagerBackoffFactor": 0,
          "clusterManagerSleepInitMS": 0,
          "clusterManagerSleepMaxMS": 2000,
          "dataManagerBackoffFactor": 0,
          "dataManagerSleepInitMS": 0,
          "dataManagerSleepMaxMS": 2000,
          "feedBufferAckThreshold": 0,
          "feedBufferSizeBytes": 0
        }
      }
      

      Attachments

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

        Activity

          People

            steve Steve Yen
            will.gardella Will Gardella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty