Open RyanMarcotte opened 3 years ago
Based on a ReSharper C# dump, in CloudTable.cs
// indexingPolicy.Automatic needs to set to false in this method if mode.HasValue && mode == IndexingMode.None
private static string ToSerializedIndexingPolicy(Microsoft.Azure.Cosmos.IndexingMode? mode)
{
IndexingPolicy indexingPolicy = new IndexingPolicy();
if (mode.HasValue)
indexingPolicy.IndexingMode = (Microsoft.Azure.Documents.IndexingMode) mode.Value;
return JsonConvert.SerializeObject((object) indexingPolicy);
}
This would be a bug in SDK, which we should fix in the future release. The current workaround is to update indexing policy on azure portal under Data Explorer.
SDK v1.0.7