-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Is your feature request related to a problem? Please describe.
With Cosmos SDK 4.01., setting up the index's includePathsDataType, IndexKind, and Precision is no longer exposed to customize. setIndexes() function is no longer public so if we require to change the default values we can't.
It seems like this is explicitly done via #11654
Is there any other way we can set `DataType, IndexKind, and Precision via SDK? Found https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/IndexingPolicy.java#L59 but this is also not exposed.
Describe the solution you'd like
expose {IncludePaths, ExcludePaths}.setIndexes() function to customize.
Describe alternatives you've considered
The alternative is to set Index's IncludePaths indexes DataType, Kind, and Precision manually in the portal.
Additional context
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- Description Added
- Expected solution specified