@@ -29,6 +29,11 @@ Creates a hash index for the collection if it does not already exist.
29
29
30
30
If false, the de-duplication of array values is turned off.
31
31
32
+ - ** inBackground** : ` Boolean `
33
+
34
+ Indexes created with the 'inBackground' option, will not hold an exclusive collection
35
+ lock for the entire index creation period (rocksdb only).
36
+
32
37
** Examples**
33
38
34
39
``` Java
@@ -66,6 +71,11 @@ Creates a skip-list index for the collection if it does not already exist.
66
71
67
72
If false, the de-duplication of array values is turned off.
68
73
74
+ - ** inBackground** : ` Boolean `
75
+
76
+ Indexes created with the 'inBackground' option, will not hold an exclusive collection
77
+ lock for the entire index creation period (rocksdb only).
78
+
69
79
** Examples**
70
80
71
81
``` Java
@@ -99,6 +109,11 @@ Creates a geo index for the collection if it does not already exist.
99
109
then the order within the array is longitude followed by latitude.
100
110
This corresponds to the format described in.
101
111
112
+ - ** inBackground** : ` Boolean `
113
+
114
+ Indexes created with the 'inBackground' option, will not hold an exclusive collection
115
+ lock for the entire index creation period (rocksdb only).
116
+
102
117
** Examples**
103
118
104
119
``` Java
@@ -132,6 +147,11 @@ Creates a fulltext index for the collection if it does not already exist.
132
147
value if unspecified. It is thus recommended to set this value explicitly
133
148
when creating the index.
134
149
150
+ - ** inBackground** : ` Boolean `
151
+
152
+ Indexes created with the 'inBackground' option, will not hold an exclusive collection
153
+ lock for the entire index creation period (rocksdb only).
154
+
135
155
** Examples**
136
156
137
157
``` Java
@@ -167,6 +187,11 @@ Creates a persistent index for the collection if it does not already exist.
167
187
168
188
If true, then create a sparse index
169
189
190
+ - ** inBackground** : ` Boolean `
191
+
192
+ Indexes created with the 'inBackground' option, will not hold an exclusive collection
193
+ lock for the entire index creation period (rocksdb only).
194
+
170
195
** Examples**
171
196
172
197
``` Java
0 commit comments