azure-cosmos-dotnet-repository icon indicating copy to clipboard operation
azure-cosmos-dotnet-repository copied to clipboard

Configurable Indexing Policy

Open mumby0168 opened this issue 3 years ago • 2 comments

When using the ContainerPerItemType setting it is possible that a consumer would want to be able to setup the container to have a indexing policy.

The library should be able to expose this configuration see this link for information on how the cosmos SDK exposes this.

https://docs.microsoft.com/en-us/azure/cosmos-db/sql/performance-tips-dotnet-sdk-v3-sql#indexing-policy

We could add this on top of our ContainerBuilder for a specific item.

mumby0168 avatar Sep 06 '21 12:09 mumby0168

Is there any existing test I can look at?

dotnetspark avatar Jan 08 '22 02:01 dotnetspark

Is there any existing test I can look at?

Hi the best place to start is the link on the issue other than that I would look at the ContainerItemBuilder implementation and the tests for that 😃

mumby0168 avatar Jan 08 '22 08:01 mumby0168