Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
6.5.0
-
Untriaged
-
No
Description
Build 6.50.-4059
Create index like below:
admins-mbp-2:vm11 girishbenakappa$ curl -XPUT -H "Content-Type: application/json" -u Administrator:password http://172.23.109.180:8094/api/index/idx_travel_sample_fts2 -d '{ |
"type": "fulltext-index", |
"name": "idx_travel_sample_fts2", |
"uuid": "", |
"sourceType": "couchbase", |
"sourceName": "travel-sample", |
"planParams": { |
"maxPartitionsPerPIndex": 171, |
"nodePlanParams": { |
"": {} |
}
|
},
|
"params": { |
"doc_config": { |
"docid_prefix_delim": "", |
"docid_regexp": "", |
"mode": "type_field", |
"type_field": "type" |
},
|
"mapping": { |
"analysis": {}, |
"default_analyzer": "standard", |
"default_datetime_parser": "dateTimeOptional", |
"default_field": "_all", |
"default_mapping": { |
"dynamic": true, |
"enabled": true |
},
|
"default_type": "_default", |
"docvalues_dynamic": true, |
"index_dynamic": true, |
"store_dynamic": false, |
"type_field": "_type" |
},
|
"store": { |
"indexType": "scorch", |
"mossStoreOptions": {} |
}
|
},
|
"sourceParams": null |
}'
|
{"status":"ok"} |
Could able to create index with "sourceParams": null. This can lead to other issues like : MB-35508
There should be validation for the index definition fields and error out while creating index if the values are not valid.
Attachments
Issue Links
- causes
-
MB-35508 FTS: Index Management API: index wiped off when running plan freeze
- Closed