diff --git a/source/tutorial/geospatial-tutorial.txt b/source/tutorial/geospatial-tutorial.txt index 611b4dd28b1..4982e70ff8a 100644 --- a/source/tutorial/geospatial-tutorial.txt +++ b/source/tutorial/geospatial-tutorial.txt @@ -166,7 +166,7 @@ collection using the :program:`mongo` shell: .. code-block:: javascript db.restaurants.createIndex({ location: "2dsphere" }) - db.neighborhoods.createIndex({ coordinates: "2dsphere" }) + db.neighborhoods.createIndex({ geometry: "2dsphere" }) Exploring the Data ~~~~~~~~~~~~~~~~~~