From bb32b4bfb89078aa52d64f9adb0db527c0c22fac Mon Sep 17 00:00:00 2001 From: estolfo Date: Thu, 7 Mar 2013 16:19:55 -0500 Subject: [PATCH] minor: change to bucketSize index args documentation --- pymongo/collection.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pymongo/collection.py b/pymongo/collection.py index c131d1349..daad6b046 100644 --- a/pymongo/collection.py +++ b/pymongo/collection.py @@ -752,8 +752,9 @@ class Collection(common.BaseObject): - `dropDups` or `drop_dups`: should we drop duplicates - `background`: if this index should be created in the background - - `bucketSize` or `bucket_size`: size of buckets for geoHaystack - indexes during index creation when creating a unique index? + - `bucketSize` or `bucket_size`: for use with geoHaystack indexes. + Number of documents to group together within a certain proximity + to a given longitude and latitude. - `min`: minimum value for keys in a :data:`~pymongo.GEO2D` index - `max`: maximum value for keys in a :data:`~pymongo.GEO2D` @@ -863,8 +864,9 @@ class Collection(common.BaseObject): during index creation when creating a unique index? - `background`: if this index should be created in the background - - `bucketSize` or `bucket_size`: size of buckets for geoHaystack - indexes during index creation when creating a unique index? + - `bucketSize` or `bucket_size`: for use with geoHaystack indexes. + Number of documents to group together within a certain proximity + to a given longitude and latitude. - `min`: minimum value for keys in a :data:`~pymongo.GEO2D` index - `max`: maximum value for keys in a :data:`~pymongo.GEO2D`