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
|
}
|
}
|