From 376bfa1af70f183de680ea75a9403414f7035e1f Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Mon, 13 May 2013 01:29:21 -0400 Subject: [PATCH 1/4] minor: fix typo for field/filed Note: the descriptions for --collection and --db appear to have been copied from mongorestore and are not accurate for mongoimport and should be rewritten. --- source/reference/program/mongoimport.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/program/mongoimport.txt b/source/reference/program/mongoimport.txt index deac183e176..3a08b46253d 100644 --- a/source/reference/program/mongoimport.txt +++ b/source/reference/program/mongoimport.txt @@ -154,7 +154,7 @@ Options restore data into a MongoDB instance that already has data, or to restore only some data in the specified imported data set. -.. option:: --fields >, -f +.. option:: --fields >, -f Specify a comma separated list of field names when importing :term:`csv` or :term:`tsv` files that do not have field names in From 4417bb853f494e2090d0475d45819045d1e66dce Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Mon, 13 May 2013 01:48:17 -0400 Subject: [PATCH 2/4] minor typos, punctuation --- source/reference/program/mongoperf.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/reference/program/mongoperf.txt b/source/reference/program/mongoperf.txt index 98b1d5db7ab..9d52f66907c 100644 --- a/source/reference/program/mongoperf.txt +++ b/source/reference/program/mongoperf.txt @@ -17,7 +17,7 @@ independently of MongoDB. It times tests of random disk I/O and presents the results. You can use :program:`mongoperf` for any case apart from MongoDB. The :setting:`~mongoperf.mmf` ``true`` mode is completely generic. In -that mode is it somewhat analogous to tools such as `bonnie++ +that mode it is somewhat analogous to tools such as `bonnie++ `_ (albeit mongoperf is simpler). @@ -170,7 +170,7 @@ Configuration Fields similar to :option:`--syncdelay ` for :program:`mongod`. The :setting:`~mongoperf.syncDelay` controls how frequently - :program:`mongoperf` performs an asynchronous disk flush the memory + :program:`mongoperf` performs an asynchronous disk flush of the memory mapped file used for testing. By default, :program:`mongod` performs this operation every 60 seconds. Use :setting:`~mongoperf.syncDelay` to test basic system performance of @@ -179,7 +179,7 @@ Configuration Fields Only use :setting:`~mongoperf.syncDelay` in conjunction with :setting:`~mongoperf.mmf` set to ``true``. - The default value of ``0`` disables this + The default value of ``0`` disables this. Use --- From a68dd8ffa899ae3fded7799b87204d1c4dced0fb Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Mon, 13 May 2013 02:31:23 -0400 Subject: [PATCH 3/4] minor: typos --- source/core/document.txt | 2 +- source/reference/configuration-options.txt | 2 +- source/reference/method/db.collection.indexStats.txt | 2 +- source/reference/method/db.getReplicationInfo.txt | 10 +++++----- source/reference/operator.txt | 4 ++-- source/tutorial/add-user-administrator.txt | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/source/core/document.txt b/source/core/document.txt index 9db2225033c..edad04f172f 100644 --- a/source/core/document.txt +++ b/source/core/document.txt @@ -261,7 +261,7 @@ Query Specification Documents Query documents specify the conditions that determine which records to select for read, update, and delete operations. You can use ``:`` expressions to specify the equality condition and -:doc:`query operator ` expressions to specifyo +:doc:`query operator ` expressions to specify additional conditions. When passed as an argument to methods such as the :method:`find() diff --git a/source/reference/configuration-options.txt b/source/reference/configuration-options.txt index cdf40f136d7..8f812b2778c 100644 --- a/source/reference/configuration-options.txt +++ b/source/reference/configuration-options.txt @@ -665,7 +665,7 @@ Settings parameters. The :dbcommand:`setParameter` database command provides access to many of these parameters. - Declare all :dbcommand:`setParamater` settings in this file using the following form: + Declare all :dbcommand:`setParameter` settings in this file using the following form: .. code-block:: sh diff --git a/source/reference/method/db.collection.indexStats.txt b/source/reference/method/db.collection.indexStats.txt index fea5c280196..512bea953fc 100644 --- a/source/reference/method/db.collection.indexStats.txt +++ b/source/reference/method/db.collection.indexStats.txt @@ -11,7 +11,7 @@ db.collection.indexStats() aggregate statistics for the B-tree data structure that stores data for a MongoDB index. - :method:`db.collection.indexStats()` is only avalible only on + :method:`db.collection.indexStats()` is only available only on :program:`mongod` instances running with the ``--enableExperimentalIndexStatsCmd`` option. diff --git a/source/reference/method/db.getReplicationInfo.txt b/source/reference/method/db.getReplicationInfo.txt index c1c425e0a3f..dbb2df52093 100644 --- a/source/reference/method/db.getReplicationInfo.txt +++ b/source/reference/method/db.getReplicationInfo.txt @@ -45,14 +45,14 @@ Output Returns the difference between the first and last operation in the :term:`oplog`, represented in seconds. - Only present if there are entires in the oplog. + Only present if there are entries in the oplog. .. data:: db.getReplicationInfo.timeDiffHours Returns the difference between the first and last operation in the :term:`oplog`, rounded and represented in hours. - Only present if there are entires in the oplog. + Only present if there are entries in the oplog. .. data:: db.getReplicationInfo.tFirst @@ -60,7 +60,7 @@ Output operation in the :term:`oplog`. Compare this value to the last write operation issued against the server. - Only present if there are entires in the oplog. + Only present if there are entries in the oplog. .. data:: db.getReplicationInfo.tLast @@ -68,7 +68,7 @@ Output operation in the :term:`oplog`. Compare this value to the last write operation issued against the server. - Only present if there are entires in the oplog. + Only present if there are entries in the oplog. .. data:: db.getReplicationInfo.now @@ -77,4 +77,4 @@ Output slightly from the server time if you're connecting from a remote host as a result. Equivalent to :method:`Date()`. - Only present if there are entires in the oplog. + Only present if there are entries in the oplog. diff --git a/source/reference/operator.txt b/source/reference/operator.txt index 210384b9062..8148209c595 100644 --- a/source/reference/operator.txt +++ b/source/reference/operator.txt @@ -126,8 +126,8 @@ Array .. include:: /includes/table-operator-update-array.rst - Modifers - ```````` + Modifiers + ````````` .. include:: /includes/table-operator-update-array-modifiers.rst diff --git a/source/tutorial/add-user-administrator.txt b/source/tutorial/add-user-administrator.txt index e69cff63da0..466f65b6617 100644 --- a/source/tutorial/add-user-administrator.txt +++ b/source/tutorial/add-user-administrator.txt @@ -21,7 +21,7 @@ user can then create all other users in the system. carefully controlled. Users with the :authrole:`userAdminAnyDatabase` and - :authrole:`userAdminAnyDatabase` privleges are not the same as the + :authrole:`userAdminAnyDatabase` privileges are not the same as the UNIX ``root`` superuser in that this role confers **no additional access** beyond user administration. These users cannot perform administrative operations or read or write data without first From 3fa4d4fb99e8d774e16bfe93f7721d554a7a09af Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Mon, 13 May 2013 02:31:52 -0400 Subject: [PATCH 4/4] minor: typos --- source/reference/method/db.collection.indexStats.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/method/db.collection.indexStats.txt b/source/reference/method/db.collection.indexStats.txt index 512bea953fc..77cfcc12983 100644 --- a/source/reference/method/db.collection.indexStats.txt +++ b/source/reference/method/db.collection.indexStats.txt @@ -11,7 +11,7 @@ db.collection.indexStats() aggregate statistics for the B-tree data structure that stores data for a MongoDB index. - :method:`db.collection.indexStats()` is only available only on + :method:`db.collection.indexStats()` is only available on :program:`mongod` instances running with the ``--enableExperimentalIndexStatsCmd`` option.