Skip to content

Commit aab83a3

Browse files
author
Ed Costello
committed
Edits for style: remove doublings of words across a number of files.
Q: most of the doubled words were really short, am wondering if this is something I introduced with one of the earlier spell check runs, or if there's some other automated thing we're using that caused this?
1 parent 4d7f593 commit aab83a3

27 files changed

+36
-36
lines changed

source/administration/backups.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ This procedure describes both approaches:
660660
only need to back up one config server, as they all have replicas of
661661
the same information.
662662

663-
Issue this command against one of the the config server itself or the
663+
Issue this command against one of the config server itself or the
664664
:program:`mongos`:
665665

666666
.. code-block:: sh

source/administration/indexes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ To return a list of all indexes on a collection, use the, use the
238238
:method:`db.collection.getIndexes()` method or a similar
239239
:api:`method for your driver <>`.
240240

241-
For example, to view all indexes on the the ``people`` collection:
241+
For example, to view all indexes on the ``people`` collection:
242242

243243
.. code-block:: javascript
244244

source/administration/security.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ HTTP Status Interface
352352
The HTTP status interface provides a web-based interface that includes
353353
a variety of operational data, logs, and status reports regarding the
354354
:program:`mongod` or :program:`mongos` instance. The HTTP interface is
355-
always available on the the port numbered ``1000`` greater than the
355+
always available on the port numbered ``1000`` greater than the
356356
primary :program:`mongod` port. By default this is ``28017``, but is
357357
indirectly set using the :setting:`port` option which allows you to
358358
configure the primary :program:`mongod` port.

source/administration/sharding.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ list of databases with sharding enabled:
417417
{ "_id" : "animals", "partitioned" : true, "primary" : "m0.example.net:30001" }
418418
{ "_id" : "farms", "partitioned" : false, "primary" : "m1.example2.net:27017" }
419419

420-
Then sharding is only enabled for the the ``animals`` database.
420+
Then sharding is only enabled for the ``animals`` database.
421421

422422
List Shards
423423
~~~~~~~~~~~

source/core/sharding.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ possible. Operations have the following targeting characteristics:
419419
stores this data.
420420

421421
For queries that include the shard key, :program:`mongos` can target
422-
the query at a specific shard or set set of shards, if the portion
422+
the query at a specific shard or set of shards, if the portion
423423
of the shard key included in the query is a *prefix* of the shard
424424
key. For example, if the shard key is:
425425

source/faq/developers.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ storage utilization for these collections:
178178
that would have occupied space in another portion of the document.
179179

180180
You can store any value in the ``_id`` field, but because this value
181-
serves as a a primary key for documents in the collection, it must
181+
serves as a primary key for documents in the collection, it must
182182
uniquely identify them. If the field's value is not unique, then it
183183
cannot serve as a primary key as there would be collisions in
184184
collection.

source/reference/command/cloneCollectionAsCapped.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cloneCollectionAsCapped
3030
- MongoDB will transverse the documents in the original collection
3131
in :term:`natural order <natural order>` as they're loaded.
3232

33-
- If the ``capped size`` specified for the new collection collection is
33+
- If the ``capped size`` specified for the new collection is
3434
smaller than the size of the original uncapped collection, then
3535
MongoDB will begin overwriting earlier documents in
3636
insertion order, which is *first in, first out* (e.g "FIFO").

source/reference/command/compact.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ compact
106106

107107
- :dbcommand:`compact` blocks all other activity. In MongoDB 2.2,
108108
:dbcommand:`compact` blocks activities only for its database. You
109-
may view the intermediate progress either by viewing the the
109+
may view the intermediate progress either by viewing the
110110
:program:`mongod` log file, or by running the
111111
:method:`db.currentOp()` in another shell instance.
112112

source/reference/command/convertToCapped.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ convertToCapped
2525
command exhibit the following behavior:
2626

2727
- MongoDB transverses the documents in the original collection in
28-
:term:`natural order` and loads the documents into into a new
28+
:term:`natural order` and loads the documents into a new
2929
capped collection.
3030

3131
- If the ``capped size`` specified for the capped collection is

source/reference/command/copydb.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ copydb
3232
You can omit the ``fromhost`` argument, to copy one database to
3333
another database within a single MongoDB instance.
3434

35-
You must run this command on the the destination, or the ``todb``
35+
You must run this command on the destination, or the ``todb``
3636
server.
3737

3838
Be aware of the following behaviors:

source/reference/config-database.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Collections
3535
.. data:: chunks
3636

3737
The :data:`chunks` collection stores a document for each chunk in
38-
in the cluster. Consider the following example of a document for a
38+
the cluster. Consider the following example of a document for a
3939
chunk named ``records.pets-animal_\"cat\"``:
4040

4141
.. code-block:: javascript

source/reference/glossary.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Glossary
99

1010
BSON
1111
A serialization format used to store documents and make remote
12-
procedure calls in MongoDB. "BSON" is a a portmanteau of the words
12+
procedure calls in MongoDB. "BSON" is a portmanteau of the words
1313
"binary" and "JSON". Think of BSON as a binary representation
1414
of JSON (JavaScript Object Notation) documents. For a detailed spec,
1515
see `bsonspec.org <http://bsonspec.org/>`_.
@@ -174,7 +174,7 @@ Glossary
174174

175175
box
176176
MongoDB's :term:`geospatial` indexes and querying system
177-
allow you to to build queries around rectangles on two-dimensional
177+
allow you to build queries around rectangles on two-dimensional
178178
coordinate systems. These queries use the :operator:`$box`
179179
operator to define a shape using the lower-left
180180
and the upper-right coordinates.
@@ -385,7 +385,7 @@ Glossary
385385
haystack index
386386
In the context of :term:`geospatial` queries, haystack indexes
387387
enhance searches by creating "bucket" of objects grouped by a second
388-
criterion. For example, you might want want all geographical searches
388+
criterion. For example, you might want all geographical searches
389389
to also include the type of location being searched for. In this case,
390390
you can create a haystack index that includes a document's position
391391
and type:

source/reference/method/ObjectId.valueOf.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ObjectId.valueOf()
1212

1313
.. versionchanged:: 2.2
1414
In previous versions :method:`ObjectId.valueOf()` returns the
15-
the ``ObjectId()`` object.
15+
``ObjectId()`` object.
1616

1717
In the following example, call the :method:`valueOf()
1818
<ObjectId.valueOf()>` method on an ObjectId

source/reference/method/db.collection.stats.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ db.collection.stats()
1515

1616
This function provides a wrapper around the database command
1717
:dbcommand:`collStats`. The ``scale`` option allows you to
18-
configure how the :program:`mongo` shell scales the the sizes
18+
configure how the :program:`mongo` shell scales the sizes
1919
of things in the output. For example, specify a ``scale``
2020
value of ``1024`` to display kilobytes rather than bytes.
2121

source/reference/method/db.collection.update.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ db.collection.update()
173173
- To update a document or to insert a new document if no
174174
document matches the query criteria, call the
175175
:method:`update() <db.collection.update()>` and specify the
176-
``upsert`` option in the the ``options`` argument, as in the
176+
``upsert`` option in the ``options`` argument, as in the
177177
following:
178178

179179
.. code-block:: javascript

source/reference/method/db.stats.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ db.stats()
1515

1616
This function provides a wrapper around the database command
1717
":dbcommand:`dbStats`". The ``scale`` option allows you to
18-
configure how the :program:`mongo` shell scales the the sizes
18+
configure how the :program:`mongo` shell scales the sizes
1919
of things in the output. For example, specify a ``scale``
2020
value of ``1024`` to display kilobytes rather than bytes.
2121

source/reference/server-status-index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Server Status Output Index
44

55
.. default-domain:: mongodb
66

7-
This document provides a quick overview and example of the the
7+
This document provides a quick overview and example of the
88
:dbcommand:`serverStatus` command. The helper :method:`db.serverStatus()`
99
in the :program:`mongo` shell provides access to this output. For full
1010
documentation of the content of this output, see

source/tutorial/configure-linux-iptables-firewall.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ required communication between your application and the appropriate
4141
:program:`mongod` and :program:`mongos` instances.
4242

4343
Be aware that, by default, the default policy of ``iptables`` is to
44-
allow all connections and traffic unless explicitly disabled. THe
44+
allow all connections and traffic unless explicitly disabled. The
4545
configuration changes outlined in this document will create rules that
46-
explicitly allow traffic from specific addresses and on specific ports
46+
explicitly allow traffic from specific addresses and on specific
4747
ports, using a default policy that drops all traffic that is not
4848
explicitly allowed. When you have properly configured your
4949
``iptables`` rules to allow only the traffic that you want to permit,
@@ -138,7 +138,7 @@ resemble the following:
138138

139139
iptables -A INPUT -s <ip-address> -p tcp --destination-port 27019 -m state --state NEW,ESTABLISHED -j ACCEPT
140140

141-
Replace ``<ip-address>`` with the address address of the
141+
Replace ``<ip-address>`` with the address of the
142142
:program:`mongos` instances and the shard :program:`mongod`
143143
instances.
144144

@@ -257,7 +257,7 @@ some aspects of ``iptables`` configuration, but at the core all
257257
Make all ``iptables`` Rules Persistent
258258
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259259

260-
By default all ``iptables`` rules are are only stored in memory. When
260+
By default all ``iptables`` rules are only stored in memory. When
261261
your system restarts, your firewall rules will revert to their
262262
defaults. When you have tested a rule set and have guaranteed that it
263263
effectively controls traffic you can use the following operations to

source/tutorial/configure-windows-netsh-firewall.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ required communication between your application and the appropriate
4242
:program:`mongod.exe` and :program:`mongos.exe` instances.
4343

4444
The configuration changes outlined in this document will create rules
45-
which explicitly allow traffic from specific addresses and on specific ports
45+
which explicitly allow traffic from specific addresses and on specific
4646
ports, using a default policy that drops all traffic that is not
4747
explicitly allowed.
4848

source/tutorial/convert-standalone-to-replica-set.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ standalone instance into a three-member replica set. If you're
1212
deploying a replica set "fresh," without any existing MongoDB data or
1313
instance, see :doc:`/tutorial/deploy-replica-set`.
1414

15-
For more information on on :doc:`replica sets, their use, and
15+
For more information on :doc:`replica sets, their use, and
1616
administration </replication>`, see:
1717

1818
- :doc:`/core/replication`,

source/tutorial/copy-databases-between-instances.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Considerations
5555
:term:`secondary` member of a replica set, with properly configured
5656
:term:`read preference`.
5757

58-
- Each destination :program:`mongod` instance must must have enough
58+
- Each destination :program:`mongod` instance must have enough
5959
free disk space on the destination server for the database you are
6060
copying. Use the :method:`db.stats()` operation to check the size of
6161
the database on the source :program:`mongod` instance. For more

source/tutorial/deploy-replica-set.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The examples in this procedure create a new replica set named ``rs0``.
5151

5252
1. Before creating your replica set, verify that every member can
5353
successfully connect to every other member. The network
54-
configuration must allow all possible connections between any any
54+
configuration must allow all possible connections between any
5555
two members. To test connectivity, see
5656
:ref:`replica-set-troubleshooting-check-connection`.
5757

@@ -200,7 +200,7 @@ To deploy a production replica set:
200200

201201
1. Before creating your replica set, verify that every member can
202202
successfully connect to every other member. The network
203-
configuration must allow all possible connections between any any
203+
configuration must allow all possible connections between any
204204
two members. To test connectivity, see
205205
:ref:`replica-set-troubleshooting-check-connection`.
206206

source/tutorial/perform-two-phase-commits.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Set Transaction State to Committed
203203
``````````````````````````````````
204204

205205
Use the following :method:`update() <db.collection.update()>` operation
206-
to set the the transaction's state to ``committed``:
206+
to set the transaction's state to ``committed``:
207207

208208
.. code-block:: javascript
209209

@@ -368,7 +368,7 @@ following:
368368
Set Transaction State to Canceled
369369
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
370370

371-
Finally, use the following following :method:`update()
371+
Finally, use the following :method:`update()
372372
<db.collection.update()>` operation to set the transaction's state to
373373
``canceled``:
374374

source/use-cases/inventory-management.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function operation.
144144

145145
.. admonition:: The system does not trust that the available inventory can satisfy a request
146146

147-
First this operation checks to make sure that that the cart is
147+
First this operation checks to make sure that the cart is
148148
"active" before adding a item. Then, it verifies that the available
149149
inventory to satisfy the request before decrementing inventory.
150150

source/use-cases/metadata-and-asset-management.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,9 @@ site, or in an ``.rss`` or ``.atom`` feed.
435435
Indexing
436436
````````
437437

438-
Create an compound index the the ``{ metadata.section: 1,
439-
metadata.published: 1 }`` fields to support this query and sort
440-
operation.
438+
Create a compound index on the
439+
``{ metadata.section: 1, metadata.published: 1 }``
440+
fields to support this query and sort operation.
441441

442442
.. code-block:: python
443443

source/use-cases/product-catalog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Avoid Modeling Product Data
185185
```````````````````````````
186186

187187
Additionally some e-commerce solutions with relational database
188-
systems avoid choosing one of the the data models above, and serialize
188+
systems avoid choosing one of the data models above, and serialize
189189
all of this data into a ``BLOB`` column. While simple, the details
190190
become difficult to access for search and sort.
191191

source/use-cases/storing-comments.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ logic to support this:
578578
This :py:meth:`update() <pymongo:pymongo.collection.Collection.update>` operation
579579
includes the last known number of pages in the query to prevent a race
580580
condition where the number of pages incriments twice, that would
581-
result result in a nearly or totally empty document. If another
581+
result in a nearly or totally empty document. If another
582582
process increments the number of pages, then update above does
583583
nothing.
584584

0 commit comments

Comments
 (0)