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.