Description
- Ensure that the index name is unique per new implementation.
- Currently, type mapping can take: "type_field", "docid_prefix", "docid_regex". Implement additional modes to accept the following, as a cbft change only:
- "scope.collection", "scope.collection.type_field", "scope.collection.docid_prefix", "scope.collection.docid_regex"
- Scope name and collection names are to be derived from these mappings. Helper functions to parse the strings needed.
- Multiple scope names are prohibited. Update the index defn validation functions.
- Supporting API for validation of index definition coming in REST endpoint / more error checking.
Attachments
For Gerrit Dashboard: MB-37049 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
118952,1 | MB-37049 - create index validations for collections | master | cbft | Status: ABANDONED | 0 | 0 |
118953,16 | MB-37049 - create index validations | master | cbft | Status: MERGED | +2 | +1 |
118954,8 | MB-37049 - create index validations | master | cbgt | Status: MERGED | +2 | +1 |