Skip to content

Edits for style: remove doublings of words across a number of files. #407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/administration/backups.txt
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ This procedure describes both approaches:
only need to back up one config server, as they all have replicas of
the same information.

Issue this command against one of the the config server itself or the
Issue this command against one of the config server itself or the
:program:`mongos`:

.. code-block:: sh
Expand Down
2 changes: 1 addition & 1 deletion source/administration/indexes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ To return a list of all indexes on a collection, use the, use the
:method:`db.collection.getIndexes()` method or a similar
:api:`method for your driver <>`.

For example, to view all indexes on the the ``people`` collection:
For example, to view all indexes on the ``people`` collection:

.. code-block:: javascript

Expand Down
2 changes: 1 addition & 1 deletion source/administration/security.txt
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ HTTP Status Interface
The HTTP status interface provides a web-based interface that includes
a variety of operational data, logs, and status reports regarding the
:program:`mongod` or :program:`mongos` instance. The HTTP interface is
always available on the the port numbered ``1000`` greater than the
always available on the port numbered ``1000`` greater than the
primary :program:`mongod` port. By default this is ``28017``, but is
indirectly set using the :setting:`port` option which allows you to
configure the primary :program:`mongod` port.
Expand Down
2 changes: 1 addition & 1 deletion source/administration/sharding.txt
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ list of databases with sharding enabled:
{ "_id" : "animals", "partitioned" : true, "primary" : "m0.example.net:30001" }
{ "_id" : "farms", "partitioned" : false, "primary" : "m1.example2.net:27017" }

Then sharding is only enabled for the the ``animals`` database.
Then sharding is only enabled for the ``animals`` database.

List Shards
~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion source/core/sharding.txt
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ possible. Operations have the following targeting characteristics:
stores this data.

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

Expand Down
2 changes: 1 addition & 1 deletion source/faq/developers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ storage utilization for these collections:
that would have occupied space in another portion of the document.

You can store any value in the ``_id`` field, but because this value
serves as a a primary key for documents in the collection, it must
serves as a primary key for documents in the collection, it must
uniquely identify them. If the field's value is not unique, then it
cannot serve as a primary key as there would be collisions in
collection.
Expand Down
2 changes: 1 addition & 1 deletion source/reference/command/cloneCollectionAsCapped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cloneCollectionAsCapped
- MongoDB will transverse the documents in the original collection
in :term:`natural order <natural order>` as they're loaded.

- If the ``capped size`` specified for the new collection collection is
- If the ``capped size`` specified for the new collection is
smaller than the size of the original uncapped collection, then
MongoDB will begin overwriting earlier documents in
insertion order, which is *first in, first out* (e.g "FIFO").
Expand Down
2 changes: 1 addition & 1 deletion source/reference/command/compact.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ compact

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

Expand Down
2 changes: 1 addition & 1 deletion source/reference/command/convertToCapped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ convertToCapped
command exhibit the following behavior:

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

- If the ``capped size`` specified for the capped collection is
Expand Down
2 changes: 1 addition & 1 deletion source/reference/command/copydb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ copydb
You can omit the ``fromhost`` argument, to copy one database to
another database within a single MongoDB instance.

You must run this command on the the destination, or the ``todb``
You must run this command on the destination, or the ``todb``
server.

Be aware of the following behaviors:
Expand Down
2 changes: 1 addition & 1 deletion source/reference/config-database.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Collections
.. data:: chunks

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

.. code-block:: javascript
Expand Down
6 changes: 3 additions & 3 deletions source/reference/glossary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Glossary

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

box
MongoDB's :term:`geospatial` indexes and querying system
allow you to to build queries around rectangles on two-dimensional
allow you to build queries around rectangles on two-dimensional
coordinate systems. These queries use the :operator:`$box`
operator to define a shape using the lower-left
and the upper-right coordinates.
Expand Down Expand Up @@ -385,7 +385,7 @@ Glossary
haystack index
In the context of :term:`geospatial` queries, haystack indexes
enhance searches by creating "bucket" of objects grouped by a second
criterion. For example, you might want want all geographical searches
criterion. For example, you might want all geographical searches
to also include the type of location being searched for. In this case,
you can create a haystack index that includes a document's position
and type:
Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/ObjectId.valueOf.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ObjectId.valueOf()

.. versionchanged:: 2.2
In previous versions :method:`ObjectId.valueOf()` returns the
the ``ObjectId()`` object.
``ObjectId()`` object.

In the following example, call the :method:`valueOf()
<ObjectId.valueOf()>` method on an ObjectId
Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/db.collection.stats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ db.collection.stats()

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

Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/db.collection.update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ db.collection.update()
- To update a document or to insert a new document if no
document matches the query criteria, call the
:method:`update() <db.collection.update()>` and specify the
``upsert`` option in the the ``options`` argument, as in the
``upsert`` option in the ``options`` argument, as in the
following:

.. code-block:: javascript
Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/db.stats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ db.stats()

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

Expand Down
2 changes: 1 addition & 1 deletion source/reference/server-status-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Server Status Output Index

.. default-domain:: mongodb

This document provides a quick overview and example of the the
This document provides a quick overview and example of the
:dbcommand:`serverStatus` command. The helper :method:`db.serverStatus()`
in the :program:`mongo` shell provides access to this output. For full
documentation of the content of this output, see
Expand Down
8 changes: 4 additions & 4 deletions source/tutorial/configure-linux-iptables-firewall.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ required communication between your application and the appropriate
:program:`mongod` and :program:`mongos` instances.

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

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

Replace ``<ip-address>`` with the address address of the
Replace ``<ip-address>`` with the address of the
:program:`mongos` instances and the shard :program:`mongod`
instances.

Expand Down Expand Up @@ -257,7 +257,7 @@ some aspects of ``iptables`` configuration, but at the core all
Make all ``iptables`` Rules Persistent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

By default all ``iptables`` rules are are only stored in memory. When
By default all ``iptables`` rules are only stored in memory. When
your system restarts, your firewall rules will revert to their
defaults. When you have tested a rule set and have guaranteed that it
effectively controls traffic you can use the following operations to
Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/configure-windows-netsh-firewall.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ required communication between your application and the appropriate
:program:`mongod.exe` and :program:`mongos.exe` instances.

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

Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/convert-standalone-to-replica-set.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ standalone instance into a three-member replica set. If you're
deploying a replica set "fresh," without any existing MongoDB data or
instance, see :doc:`/tutorial/deploy-replica-set`.

For more information on on :doc:`replica sets, their use, and
For more information on :doc:`replica sets, their use, and
administration </replication>`, see:

- :doc:`/core/replication`,
Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/copy-databases-between-instances.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Considerations
:term:`secondary` member of a replica set, with properly configured
:term:`read preference`.

- Each destination :program:`mongod` instance must must have enough
- Each destination :program:`mongod` instance must have enough
free disk space on the destination server for the database you are
copying. Use the :method:`db.stats()` operation to check the size of
the database on the source :program:`mongod` instance. For more
Expand Down
4 changes: 2 additions & 2 deletions source/tutorial/deploy-replica-set.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The examples in this procedure create a new replica set named ``rs0``.

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

Expand Down Expand Up @@ -200,7 +200,7 @@ To deploy a production replica set:

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

Expand Down
4 changes: 2 additions & 2 deletions source/tutorial/perform-two-phase-commits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Set Transaction State to Committed
``````````````````````````````````

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

.. code-block:: javascript

Expand Down Expand Up @@ -368,7 +368,7 @@ following:
Set Transaction State to Canceled
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

Expand Down
2 changes: 1 addition & 1 deletion source/use-cases/inventory-management.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function operation.

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

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

Expand Down
6 changes: 3 additions & 3 deletions source/use-cases/metadata-and-asset-management.txt
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ site, or in an ``.rss`` or ``.atom`` feed.
Indexing
````````

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

.. code-block:: python

Expand Down
2 changes: 1 addition & 1 deletion source/use-cases/product-catalog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Avoid Modeling Product Data
```````````````````````````

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

Expand Down
2 changes: 1 addition & 1 deletion source/use-cases/storing-comments.txt
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ logic to support this:
This :py:meth:`update() <pymongo:pymongo.collection.Collection.update>` operation
includes the last known number of pages in the query to prevent a race
condition where the number of pages incriments twice, that would
result result in a nearly or totally empty document. If another
result in a nearly or totally empty document. If another
process increments the number of pages, then update above does
nothing.

Expand Down