From d94632f946eb6913e8e34e42da271bf3cd445a29 Mon Sep 17 00:00:00 2001 From: kay Date: Fri, 22 Mar 2013 17:13:32 -0400 Subject: [PATCH] remove tojson functions reword a sentence in the index that covers query section --- source/applications/indexes.txt | 11 ++++++----- .../fact-group-map-reduce-where-limitations-in-24.rst | 3 --- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/source/applications/indexes.txt b/source/applications/indexes.txt index 87eabce326a..0590d65ad3d 100644 --- a/source/applications/indexes.txt +++ b/source/applications/indexes.txt @@ -137,11 +137,12 @@ located sequentially on disk. MongoDB automatically uses an index that covers a query when possible. To ensure that an index can *cover* a query, create an index that includes all the fields listed in the :ref:`query document -` and in the query result, usually by -way of a :ref:`projection ` document. By default, MongoDB -includes the ``_id`` field in the query result. So, if the index does -**not** include the ``_id`` field, then you must exclude the ``_id`` -field (i.e. ``_id: 0``) from the query. +` and in the query result. You can +specify the fields to return in the query results with a +:ref:`projection ` document. By default, MongoDB includes +the ``_id`` field in the query result. So, if the index does **not** +include the ``_id`` field, then you must exclude the ``_id`` field +(i.e. ``_id: 0``) from the query results. .. example:: diff --git a/source/includes/fact-group-map-reduce-where-limitations-in-24.rst b/source/includes/fact-group-map-reduce-where-limitations-in-24.rst index 32906bfbd15..14d4a246792 100644 --- a/source/includes/fact-group-map-reduce-where-limitations-in-24.rst +++ b/source/includes/fact-group-map-reduce-where-limitations-in-24.rst @@ -51,8 +51,5 @@ in MongoDB 2.4: | ``print()`` | ``sleep()`` | ``Timestamp()`` - | ``tojson()`` - | ``tojsononeline()`` - | ``tojsonObject()`` | ``UUID()`` | ``version()``