Skip to content

Commit f70a1b7

Browse files
committed
document background indexing option
1 parent 4087168 commit f70a1b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymongo/collection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,8 @@ def ensure_index(self, key_or_list, deprecated_unique=None,
677677
- `unique`: should this index guarantee uniqueness?
678678
- `dropDups` or `drop_dups`: should we drop duplicates
679679
during index creation when creating a unique index?
680+
- `background`: if this index should be created in the
681+
background
680682
- `min`: minimum value for keys in a :data:`~pymongo.GEO2D`
681683
index
682684
- `max`: maximum value for keys in a :data:`~pymongo.GEO2D`

0 commit comments

Comments
 (0)