diff --git a/source/core/index-partial.txt b/source/core/index-partial.txt index 11c0db7c56d..67a62f0ba4e 100644 --- a/source/core/index-partial.txt +++ b/source/core/index-partial.txt @@ -255,7 +255,7 @@ fields are greater than ``21``: db.users.insert( { username: "rajiv", age: 32 } ) However, the following documents with duplicate usernames are allowed -since the the unique constraint only applies to documents with ``age`` +since the unique constraint only applies to documents with ``age`` greater than or equal to 21. .. code-block:: javascript diff --git a/source/includes/ref-toc-aggregation-group.yaml b/source/includes/ref-toc-aggregation-group.yaml index 139c29e2d49..ec824b4e612 100644 --- a/source/includes/ref-toc-aggregation-group.yaml +++ b/source/includes/ref-toc-aggregation-group.yaml @@ -10,7 +10,7 @@ description: | name: :group:`$avg` file: /reference/operator/aggregation/avg description: | - Returns an average of numberical values. Ignores non-numeric values. + Returns an average of numerical values. Ignores non-numeric values. .. versionchanged:: 3.2 Available in both :pipeline:`$group` and :pipeline:`$project` diff --git a/source/includes/steps-create-admin-then-enable-authentication.yaml b/source/includes/steps-create-admin-then-enable-authentication.yaml index d4913b92634..4f2c673abcf 100644 --- a/source/includes/steps-create-admin-then-enable-authentication.yaml +++ b/source/includes/steps-create-admin-then-enable-authentication.yaml @@ -72,7 +72,7 @@ action: - pre: | Either connect a new :program:`mongo` shell to the MongoDB instance with the ``-u ``, ``-p ``, and - the ``--authenticationDatabse ``: + the ``--authenticationDatabase ``: language: sh code: | mongo --port 27017 -u "myUserAdmin" -p "abc123" --authenticationDatabase "admin" diff --git a/source/includes/steps-getting-started-update-replace.yaml b/source/includes/steps-getting-started-update-replace.yaml index 5dc82699249..464352b1131 100644 --- a/source/includes/steps-getting-started-update-replace.yaml +++ b/source/includes/steps-getting-started-update-replace.yaml @@ -6,7 +6,7 @@ ref: replace-document action: - pre: | The following operation replaces the document with ``item`` equal - to ``"BE10"``. The newly replaced document will only contain the + to ``"BE10"``. The newly replaced document will only contain the ``_id`` field and the fields in the replacement document. language: javascript code: | @@ -25,4 +25,4 @@ action: language: javascript code: | WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 }) -... \ No newline at end of file +... diff --git a/source/includes/steps-replace-disabled-config-server.yaml b/source/includes/steps-replace-disabled-config-server.yaml index 3ef007aadd6..69587194b4b 100644 --- a/source/includes/steps-replace-disabled-config-server.yaml +++ b/source/includes/steps-replace-disabled-config-server.yaml @@ -21,7 +21,7 @@ action: rs.add(":") post: | The initial sync process copies all the data from one member of the - conifg server replica set to the new member without restarting. + config server replica set to the new member without restarting. :program:`mongos` instances automatically recognize the change in the config server replica set members without restarting.