Permalink
Fetching contributors…
Cannot retrieve contributors at this time
113 lines (111 sloc) 5.05 KB
<Type Name="IndexingMode" FullName="Microsoft.Azure.Documents.IndexingMode">
<TypeSignature Language="C#" Value="public enum IndexingMode" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed IndexingMode extends System.Enum" />
<TypeSignature Language="DocId" Value="T:Microsoft.Azure.Documents.IndexingMode" />
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>
Specifies the supported indexing modes in the Azure DocumentDB database service.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="Consistent">
<MemberSignature Language="C#" Value="Consistent" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Azure.Documents.IndexingMode Consistent = int32(0)" />
<MemberSignature Language="DocId" Value="F:Microsoft.Azure.Documents.IndexingMode.Consistent" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Azure.Documents.IndexingMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
Index is updated synchronously with a create, update or delete operation.
</summary>
<remarks>
With consistent indexing, query consistency is the same as the default consistency level for the database account.
The index is always kept up to date with the data.
The default IndexingMode is Consistent.
</remarks>
</Docs>
</Member>
<Member MemberName="Lazy">
<MemberSignature Language="C#" Value="Lazy" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Azure.Documents.IndexingMode Lazy = int32(1)" />
<MemberSignature Language="DocId" Value="F:Microsoft.Azure.Documents.IndexingMode.Lazy" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Azure.Documents.IndexingMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
Index is updated asynchronously with respect to a create, update or delete operation.
</summary>
<remarks>
With lazy indexing, queries are eventually consistent.
The index is updated when the collection is operating below full throughput capacity (Request units per second).
Write operations will consume fewer request units (RequestCharge) at the time of write.
</remarks>
</Docs>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Azure.Documents.IndexingMode None = int32(2)" />
<MemberSignature Language="DocId" Value="F:Microsoft.Azure.Documents.IndexingMode.None" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Azure.Documents.IndexingMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
No index is provided.
</summary>
<remarks>
Setting IndexingMode to "None" drops the index. Use this if you don't want to maintain the index for a document collection, to save the storage cost or improve the write throughput. Your queries will degenerate to scans of the entire collection.
</remarks>
</Docs>
</Member>
</Members>
</Type>