-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.cosmos.IndexingMode.yml
43 lines (33 loc) · 1.39 KB
/
azure.cosmos.IndexingMode.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
### YamlMime:PythonClass
uid: azure.cosmos.IndexingMode
name: IndexingMode
fullName: azure.cosmos.IndexingMode
module: azure.cosmos
inheritances:
- builtins.object
summary: Specifies the supported indexing modes.
constructor:
syntax: IndexingMode()
attributes:
- uid: azure.cosmos.IndexingMode.Consistent
name: Consistent
summary: 'Index is updated synchronously with a create or update operation. With
consistent indexing, query behavior is the same as the default
consistency level for the collection.
The index is always kept up to date with the data.'
signature: 'Consistent: Literal[''consistent''] = ''consistent'''
- uid: azure.cosmos.IndexingMode.Lazy
name: Lazy
summary: 'Index is updated asynchronously with respect to a create or update
operation. Not supported for new containers since June/2020.
With lazy indexing, queries are eventually consistent. The index is
updated when the collection is idle.'
signature: 'Lazy: Literal[''lazy''] = ''lazy'''
- uid: azure.cosmos.IndexingMode.NoIndex
name: NoIndex
summary: 'No index is provided.
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.'
signature: 'NoIndex: Literal[''none''] = ''none'''