From f24013453728b4f9eb96c530bfecea7a799cdd08 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Tue, 19 Mar 2013 10:52:31 -0400 Subject: [PATCH 1/2] DOCS-1258 typo --- .../tutorial/limit-number-of-elements-in-updated-array.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/tutorial/limit-number-of-elements-in-updated-array.txt b/source/tutorial/limit-number-of-elements-in-updated-array.txt index d15beabb872..cab503c15fb 100644 --- a/source/tutorial/limit-number-of-elements-in-updated-array.txt +++ b/source/tutorial/limit-number-of-elements-in-updated-array.txt @@ -35,7 +35,7 @@ Consider the following document in the collection ``students``: ] } -The the following update uses the :operator:`$push` operator with: +The following update uses the :operator:`$push` operator with: - the :operator:`$each` modifier to append to the array 2 new elements, @@ -48,7 +48,7 @@ The the following update uses the :operator:`$push` operator with: .. code-block:: javascript db.students.update( - { _id: 1 }, + { _id: 1 }, { $push: { scores: { $each : [ { attempt: 3, score: 7 }, { attempt: 4, score: 4 } @@ -76,7 +76,7 @@ the ``scores`` array: "scores" : [ { "attempt" : 3, "score" : 7 }, { "attempt" : 2, "score" : 8 }, - { "attempt" : 1, "score" : 10 } + { "attempt" : 1, "score" : 10 } ] } From 58c3b9c57c04ee90e50abd126903e642c5d51635 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Tue, 19 Mar 2013 11:35:03 -0400 Subject: [PATCH 2/2] DOCS-1260 copy edits to remove doubled "the"s --- source/applications/read.txt | 2 +- source/faq/developers.txt | 2 +- source/faq/diagnostics.txt | 2 +- source/meta/build.txt | 2 +- source/reference/explain.txt | 2 +- source/reference/glossary.txt | 2 +- source/reference/replica-configuration.txt | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/applications/read.txt b/source/applications/read.txt index 7cf20ee9de8..8308ec702cf 100644 --- a/source/applications/read.txt +++ b/source/applications/read.txt @@ -362,7 +362,7 @@ On Arrays and Subdocuments `````````````````````````` The following operation finds all documents in the ``bios`` collection -and returns the the ``last`` field in the ``name`` subdocument and the +and returns the ``last`` field in the ``name`` subdocument and the first two elements in the ``contribs`` array: .. code-block:: javascript diff --git a/source/faq/developers.txt b/source/faq/developers.txt index 8ab0536ed64..1bc15f573ee 100644 --- a/source/faq/developers.txt +++ b/source/faq/developers.txt @@ -667,7 +667,7 @@ adaptively adjust the amount of padding added to documents to prevent document relocations following updates. You can change the default :data:`~collStats.paddingFactor` -calculation by using the the :dbcommand:`collMod` command with the +calculation by using the :dbcommand:`collMod` command with the :collflag:`usePowerOf2Sizes` flag. The :collflag:`usePowerOf2Sizes` flag ensures that MongoDB allocates document space in sizes that are powers of 2, which helps ensure that MongoDB can efficiently reuse diff --git a/source/faq/diagnostics.txt b/source/faq/diagnostics.txt index 05c70796f05..0c467d367c8 100644 --- a/source/faq/diagnostics.txt +++ b/source/faq/diagnostics.txt @@ -24,7 +24,7 @@ If :program:`mongod` shuts down unexpectedly on a UNIX or UNIX-based platform, and if :program:`mongod` fails to log a shutdown or error message, then check your system logs for messages pertaining to MongoDB. For example, for logs located in in ``/var/log/messages``, -use the the following commands: +use the following commands: .. code-block:: sh diff --git a/source/meta/build.txt b/source/meta/build.txt index 233c1821518..d8e98ff99f7 100644 --- a/source/meta/build.txt +++ b/source/meta/build.txt @@ -347,7 +347,7 @@ The build system contains the following 8 makefiles: - *releases*: Describe targets for generating files for inclusion in the installation have the versions of MongoDB automatically baked - into the their text. + into their text. - *errors*: Special processing of the HTTP error pages. diff --git a/source/reference/explain.txt b/source/reference/explain.txt index 161e71cfa5d..5cfd0d3a464 100644 --- a/source/reference/explain.txt +++ b/source/reference/explain.txt @@ -200,7 +200,7 @@ Core Explain Output .. data:: explain.indexOnly :data:`~explain.indexOnly` is a boolean value that returns ``true`` - when the the query is :ref:`covered ` by + when the query is :ref:`covered ` by the index indicated in the :data:`~explain.cursor` field. When an index covers a query, MongoDB can both match the :ref:`query conditions ` **and** return the diff --git a/source/reference/glossary.txt b/source/reference/glossary.txt index fc94bfd0fe8..cab888c57ad 100644 --- a/source/reference/glossary.txt +++ b/source/reference/glossary.txt @@ -888,7 +888,7 @@ Glossary different points: - :term:`Initial sync` occurs when MongoDB creates new databases on a - new or restored :term:`replica set` member, populating the the + new or restored :term:`replica set` member, populating the member with the replica set's data. - "Replication" occurs continually after initial sync and keeps diff --git a/source/reference/replica-configuration.txt b/source/reference/replica-configuration.txt index 0780e500b7c..609967c84ab 100644 --- a/source/reference/replica-configuration.txt +++ b/source/reference/replica-configuration.txt @@ -638,7 +638,7 @@ disk type of ``ssd``, you could use the following tag set: However, to create comparable write concern modes, you would specify a different set of :data:`~local.system.replset.settings.getLastErrorModes` -configuration. Consider the the following sequence of operations in +configuration. Consider the following sequence of operations in the :program:`mongo` shell: #. Create the replica set configuration object ``conf``: