From cabd88748eb75fb8fbeef1c83238a29adf0d7de1 Mon Sep 17 00:00:00 2001 From: Andrew Feierabend Date: Tue, 30 Mar 2021 13:06:13 -0400 Subject: [PATCH] DOCSP-15360, DOCSP-15373 foreport fixes postmerge predeploy --- source/administration/configuration.txt | 4 +- .../security/appendixB-openssl-server.txt | 2 - source/applications/data-models.txt | 3 +- .../aggregation-pipeline-optimization.txt | 1 - .../authentication-mechanisms-enterprise.txt | 8 +-- source/core/index-intersection.txt | 4 +- source/core/index-sparse.txt | 3 +- source/core/index-unique.txt | 3 +- source/core/journaling.txt | 1 + source/core/query-optimization.txt | 2 +- source/core/read-preference.txt | 4 +- ...rchitecture-geographically-distributed.txt | 9 +-- source/core/replica-set-architectures.txt | 4 +- source/core/replica-set-write-concern.txt | 1 + source/core/schema-validation.txt | 6 +- .../core/security-mongodb-configuration.txt | 4 +- .../core/sharding-balancer-administration.txt | 2 +- source/core/sharding-data-partitioning.txt | 5 -- .../transactions-production-consideration.txt | 2 - source/core/transactions.txt | 2 +- source/faq/fundamentals.txt | 3 +- source/faq/replica-sets.txt | 2 +- ...tools-performance-considerations-base.yaml | 9 +-- ...parent-fact-count-on-sharded-clusters.yaml | 3 +- source/includes/extracts-transactions.yaml | 6 +- source/includes/fact-agg-memory-limit.rst | 3 +- .../table-transactions-operations.rst | 10 ++-- source/introduction.txt | 2 - .../aggregation-commands-comparison.txt | 2 +- source/reference/aggregation-variables.txt | 4 +- source/reference/bson-types.txt | 1 + source/reference/command/clearJumboFlag.txt | 2 - source/reference/command/collMod.txt | 9 +-- source/reference/command/connPoolStats.txt | 2 +- source/reference/command/create.txt | 4 +- source/reference/command/currentOp.txt | 6 +- source/reference/command/dropIndexes.txt | 3 +- source/reference/command/endSessions.txt | 2 - source/reference/command/getLastError.txt | 2 +- source/reference/command/moveChunk.txt | 7 ++- source/reference/command/planCacheClear.txt | 1 + .../command/planCacheClearFilters.txt | 5 +- .../command/planCacheListFilters.txt | 5 +- .../reference/command/planCacheSetFilter.txt | 1 + source/reference/command/profile.txt | 3 +- .../command/refineCollectionShardKey.txt | 2 +- source/reference/command/refreshSessions.txt | 2 - source/reference/command/replSetGetConfig.txt | 3 +- source/reference/command/replSetInitiate.txt | 7 ++- .../reference/command/replSetResizeOplog.txt | 3 - source/reference/command/serverStatus.txt | 10 +--- source/reference/command/shardCollection.txt | 9 +-- .../reference/command/shardConnPoolStats.txt | 3 +- source/reference/command/split.txt | 9 +-- source/reference/command/splitChunk.txt | 8 +-- source/reference/command/startSession.txt | 3 +- source/reference/configuration-options.txt | 6 +- source/reference/limits.txt | 9 +-- .../method/Bulk.find.arrayFilters.txt | 5 -- .../reference/method/Bulk.find.collation.txt | 5 -- source/reference/method/Bulk.find.hint.txt | 4 -- source/reference/method/Bulk.find.remove.txt | 4 -- .../reference/method/Bulk.find.removeOne.txt | 5 -- .../reference/method/Bulk.find.replaceOne.txt | 4 -- source/reference/method/Bulk.find.txt | 2 - source/reference/method/Bulk.find.update.txt | 5 -- .../reference/method/Bulk.find.updateOne.txt | 6 -- source/reference/method/Bulk.find.upsert.txt | 4 -- .../reference/method/Bulk.getOperations.txt | 3 +- source/reference/method/Bulk.insert.txt | 2 - source/reference/method/Date.txt | 11 ++-- .../method/Mongo.getReadPrefMode.txt | 7 ++- .../method/Mongo.getReadPrefTagSet.txt | 7 ++- .../reference/method/Mongo.getSecondaryOk.txt | 1 - .../method/Mongo.isCausalConsistency.txt | 1 - .../method/Mongo.setCausalConsistency.txt | 1 - .../reference/method/Mongo.setSecondaryOk.txt | 1 - source/reference/method/Mongo.txt | 2 +- source/reference/method/PlanCache.clear.txt | 1 - source/reference/method/PlanCache.list.txt | 11 ++-- .../method/Session.abortTransaction.txt | 1 - .../method/Session.commitTransaction.txt | 1 - .../method/Session.startTransaction.txt | 1 - source/reference/method/WriteResult.txt | 5 +- source/reference/method/connect.txt | 4 +- source/reference/method/cursor.count.txt | 2 +- source/reference/method/cursor.itcount.txt | 3 +- source/reference/method/cursor.max.txt | 3 +- source/reference/method/cursor.min.txt | 3 +- source/reference/method/cursor.sort.txt | 4 +- .../reference/method/db.collection.count.txt | 2 - .../method/db.collection.countDocuments.txt | 2 +- .../method/db.collection.createIndexes.txt | 5 +- .../db.collection.estimatedDocumentCount.txt | 4 +- .../reference/method/db.collection.find.txt | 2 - .../method/db.collection.hideIndex.txt | 1 - .../db.collection.initializeOrderedBulkOp.txt | 3 - ...b.collection.initializeUnorderedBulkOp.txt | 3 - .../method/db.collection.insertOne.txt | 3 +- .../method/db.collection.isCapped.txt | 2 +- .../reference/method/db.collection.remove.txt | 3 - .../method/db.collection.unhideIndex.txt | 1 - source/reference/method/db.currentOp.txt | 2 +- .../method/db.getFreeMonitoringStatus.txt | 4 +- source/reference/method/db.getLastError.txt | 2 - .../reference/method/db.getLastErrorObj.txt | 1 - .../method/db.printCollectionStats.txt | 2 +- .../method/db.printShardingStatus.txt | 2 +- source/reference/method/rs.reconfig.txt | 5 -- source/reference/method/rs.secondaryOk.txt | 1 - source/reference/method/rs.syncFrom.txt | 3 +- source/reference/method/sh.addShardTag.txt | 3 +- source/reference/method/sh.addShardToZone.txt | 3 +- .../reference/method/sh.disableAutoSplit.txt | 3 +- source/reference/method/sh.enableSharding.txt | 1 - .../reference/method/sh.getBalancerState.txt | 2 +- source/reference/method/sh.moveChunk.txt | 9 +-- .../method/sh.removeShardFromZone.txt | 4 +- source/reference/method/sh.removeShardTag.txt | 7 +-- .../reference/method/sh.setBalancerState.txt | 4 -- .../reference/method/sh.shardCollection.txt | 3 - source/reference/method/sh.startBalancer.txt | 1 - .../method/sh.updateZoneKeyRange.txt | 3 +- .../method/sh.waitForBalancerOff.txt | 4 -- source/reference/mongo-shell.txt | 2 +- .../operator/aggregation/binarySize.txt | 2 - .../operator/aggregation/bsonSize.txt | 2 - .../operator/aggregation/collStats.txt | 3 +- .../operator/aggregation/convert.txt | 9 ++- .../reference/operator/aggregation/count.txt | 1 - .../operator/aggregation/currentOp.txt | 10 ++-- .../operator/aggregation/dateFromString.txt | 3 +- .../operator/aggregation/dateToString.txt | 3 +- .../reference/operator/aggregation/group.txt | 7 +-- .../operator/aggregation/indexOfArray.txt | 4 +- .../operator/aggregation/indexOfBytes.txt | 3 +- .../operator/aggregation/indexOfCP.txt | 3 +- .../operator/aggregation/isArray.txt | 3 +- .../operator/aggregation/isNumber.txt | 2 - .../reference/operator/aggregation/limit.txt | 5 +- source/reference/operator/aggregation/log.txt | 3 +- .../reference/operator/aggregation/lookup.txt | 2 - .../reference/operator/aggregation/ltrim.txt | 3 +- source/reference/operator/aggregation/map.txt | 2 - .../reference/operator/aggregation/match.txt | 5 +- .../reference/operator/aggregation/merge.txt | 2 - .../operator/aggregation/planCacheStats.txt | 2 +- .../operator/aggregation/project.txt | 5 +- .../reference/operator/aggregation/rand.txt | 4 +- .../reference/operator/aggregation/redact.txt | 3 +- .../operator/aggregation/regexFind.txt | 1 - .../operator/aggregation/regexFindAll.txt | 1 - .../operator/aggregation/regexMatch.txt | 1 - .../reference/operator/aggregation/rtrim.txt | 3 +- .../operator/aggregation/sampleRate.txt | 3 +- .../reference/operator/aggregation/skip.txt | 5 +- .../reference/operator/aggregation/sort.txt | 5 +- .../operator/aggregation/sortByCount.txt | 2 +- .../reference/operator/aggregation/toBool.txt | 2 +- .../reference/operator/aggregation/toDate.txt | 4 +- .../operator/aggregation/toDecimal.txt | 2 +- .../reference/operator/aggregation/toInt.txt | 3 +- .../reference/operator/aggregation/toLong.txt | 3 +- .../operator/aggregation/toObjectId.txt | 3 +- .../operator/aggregation/toString.txt | 4 +- .../reference/operator/aggregation/trim.txt | 3 +- .../reference/operator/aggregation/type.txt | 2 - source/reference/operator/meta/explain.txt | 7 +-- source/reference/operator/meta/query.txt | 2 +- source/reference/operator/query/and.txt | 7 ++- source/reference/operator/query/eq.txt | 3 +- source/reference/operator/query/exists.txt | 5 +- source/reference/operator/query/gt.txt | 4 +- source/reference/operator/query/gte.txt | 4 +- source/reference/operator/query/in.txt | 6 +- source/reference/operator/query/lt.txt | 4 +- source/reference/operator/query/lte.txt | 4 +- source/reference/operator/query/ne.txt | 4 +- .../reference/operator/query/nearSphere.txt | 3 +- source/reference/operator/query/nin.txt | 4 +- source/reference/operator/query/nor.txt | 7 ++- source/reference/operator/query/not.txt | 10 ++-- source/reference/operator/query/or.txt | 7 ++- source/reference/operator/query/text.txt | 55 +++++++++++-------- source/reference/operator/query/type.txt | 8 +-- source/reference/operator/update/addToSet.txt | 8 +-- source/reference/operator/update/bit.txt | 5 +- .../reference/operator/update/currentDate.txt | 10 ++-- source/reference/operator/update/inc.txt | 5 +- source/reference/operator/update/max.txt | 5 +- source/reference/operator/update/min.txt | 5 +- source/reference/operator/update/mul.txt | 5 +- source/reference/operator/update/pop.txt | 5 +- .../operator/update/positional-all.txt | 11 +--- .../operator/update/positional-filtered.txt | 9 +-- source/reference/operator/update/pull.txt | 5 +- source/reference/operator/update/pullAll.txt | 5 +- source/reference/operator/update/push.txt | 5 +- source/reference/operator/update/rename.txt | 5 +- source/reference/operator/update/set.txt | 5 +- .../reference/operator/update/setOnInsert.txt | 5 +- source/reference/operator/update/unset.txt | 3 +- source/reference/privilege-actions.txt | 2 +- source/reference/program/mongo.txt | 3 - source/reference/replica-configuration.txt | 14 +++-- source/reference/system-users-collection.txt | 3 - source/reference/write-concern.txt | 3 - source/release-notes/2.6-compatibility.txt | 16 +++--- source/release-notes/2.6.txt | 16 +++--- source/release-notes/3.0-compatibility.txt | 1 + source/tutorial/getting-started.txt | 37 +++++++++---- 211 files changed, 412 insertions(+), 528 deletions(-) diff --git a/source/administration/configuration.txt b/source/administration/configuration.txt index fb377c7dc96..10dc78a3b9f 100644 --- a/source/administration/configuration.txt +++ b/source/administration/configuration.txt @@ -239,8 +239,9 @@ Use descriptive names for sets. Once configured, use the :binary:`~bin.mongo` shell to add hosts to the replica set. .. seealso:: + :ref:`Replica set reconfiguration - `. + ` To enable authentication for the :term:`replica set` using :ref:`keyfiles ` , add the following @@ -256,6 +257,7 @@ specifies a keyfile for the replica set member to use when authenticating to each other. .. seealso:: + The :ref:`Replica Set Security ` section for information on configuring authentication with replica sets. diff --git a/source/appendix/security/appendixB-openssl-server.txt b/source/appendix/security/appendixB-openssl-server.txt index 25bf95ba4a0..d87bbbabc92 100644 --- a/source/appendix/security/appendixB-openssl-server.txt +++ b/source/appendix/security/appendixB-openssl-server.txt @@ -227,7 +227,5 @@ B. Generate the Test PEM File for Server .. seealso:: - :ref:`appendix-ca-certificate` - - :ref:`appendix-client-certificate` - - :ref:`x509-member-certificate` diff --git a/source/applications/data-models.txt b/source/applications/data-models.txt index 1559207ce2c..65a510108f0 100644 --- a/source/applications/data-models.txt +++ b/source/applications/data-models.txt @@ -13,13 +13,12 @@ Data Model Examples and Patterns :depth: 1 :class: singlecol -.. seealso:: Building with Patterns Blog Series +.. seealso:: For additional patterns and use cases, see also: `Building with Patterns `_ - .. /tutorial/model-tree-structures.txt is just a composite page that includes all the tree structure pages for easy overview. diff --git a/source/core/aggregation-pipeline-optimization.txt b/source/core/aggregation-pipeline-optimization.txt index 38a718e9d03..dae510f6936 100644 --- a/source/core/aggregation-pipeline-optimization.txt +++ b/source/core/aggregation-pipeline-optimization.txt @@ -420,6 +420,5 @@ MongoDB increases the :pipeline:`$limit` amount with the reordering. .. seealso:: - :method:`explain ` option in the :method:`db.collection.aggregate()` diff --git a/source/core/authentication-mechanisms-enterprise.txt b/source/core/authentication-mechanisms-enterprise.txt index 1b347f53f5c..d4f02d35bc5 100644 --- a/source/core/authentication-mechanisms-enterprise.txt +++ b/source/core/authentication-mechanisms-enterprise.txt @@ -75,11 +75,9 @@ information. .. seealso:: - - :doc:`/core/security-ldap`, - - - :doc:`/tutorial/configure-ldap-sasl-openldap` and - - - :doc:`/tutorial/configure-ldap-sasl-activedirectory`. + - :doc:`/core/security-ldap` + - :doc:`/tutorial/configure-ldap-sasl-openldap` + - :doc:`/tutorial/configure-ldap-sasl-activedirectory` .. toctree:: :titlesonly: diff --git a/source/core/index-intersection.txt b/source/core/index-intersection.txt index ef3c5d570f4..dc1b030bea0 100644 --- a/source/core/index-intersection.txt +++ b/source/core/index-intersection.txt @@ -133,8 +133,8 @@ system. .. seealso:: - :doc:`compound indexes `, - :ref:`compound-key-indexes` + - :doc:`compound indexes ` + - :ref:`compound-key-indexes` .. _index-intersection-sort: diff --git a/source/core/index-sparse.txt b/source/core/index-sparse.txt index 6b9fc288799..fb28dcb889e 100644 --- a/source/core/index-sparse.txt +++ b/source/core/index-sparse.txt @@ -200,7 +200,8 @@ the ``score`` field: .. seealso:: - :method:`~cursor.explain()` and :doc:`/tutorial/analyze-query-plan` + - :method:`~cursor.explain()` + - :doc:`/tutorial/analyze-query-plan` Sparse Index with Unique Constraint diff --git a/source/core/index-unique.txt b/source/core/index-unique.txt index 2d5054bc071..3d8e5c4093e 100644 --- a/source/core/index-unique.txt +++ b/source/core/index-unique.txt @@ -98,7 +98,8 @@ the collection since the index enforces uniqueness for the .. seealso:: - :ref:`unique-separate-documents` and :ref:`unique-index-and-missing-field` + - :ref:`unique-separate-documents` + - :ref:`unique-index-and-missing-field` Behavior -------- diff --git a/source/core/journaling.txt b/source/core/journaling.txt index 33ddcf400f0..c9593eb3bee 100644 --- a/source/core/journaling.txt +++ b/source/core/journaling.txt @@ -75,6 +75,7 @@ kB are buffered. hard shutdown of :binary:`~bin.mongod`. .. seealso:: + The :dbcommand:`serverStatus` command returns information on the WiredTiger journal statistics in the :serverstatus:`wiredTiger.log` field. diff --git a/source/core/query-optimization.txt b/source/core/query-optimization.txt index 34e684bd300..04c014a69b1 100644 --- a/source/core/query-optimization.txt +++ b/source/core/query-optimization.txt @@ -189,7 +189,7 @@ Restrictions on Indexed Fields .. seealso:: - :ref:`multikey-covering` + :ref:`multikey-covering` .. _covered-index-sharded-collection: diff --git a/source/core/read-preference.txt b/source/core/read-preference.txt index f5f52ceb9c9..057839df45c 100644 --- a/source/core/read-preference.txt +++ b/source/core/read-preference.txt @@ -44,10 +44,8 @@ For detailed description of the read preference modes, see .. seealso:: - - :ref:`replica-set-read-preference-tag-sets`, - + - :ref:`replica-set-read-preference-tag-sets` - :ref:`replica-set-read-preference-max-staleness` - - :ref:`mongos-hedged-reads` Behavior diff --git a/source/core/replica-set-architecture-geographically-distributed.txt b/source/core/replica-set-architecture-geographically-distributed.txt index fe15aaa627a..42587931360 100644 --- a/source/core/replica-set-architecture-geographically-distributed.txt +++ b/source/core/replica-set-architecture-geographically-distributed.txt @@ -120,8 +120,9 @@ Verify that your network configuration allows communication among all members; i.e. each member must be able to connect to every other member. .. seealso:: - :doc:`/tutorial/deploy-geographically-distributed-replica-set`, - :doc:`/tutorial/deploy-replica-set`, - :doc:`/tutorial/add-replica-set-arbiter`, and - :doc:`/tutorial/expand-replica-set`. + + - :doc:`/tutorial/deploy-geographically-distributed-replica-set` + - :doc:`/tutorial/deploy-replica-set` + - :doc:`/tutorial/add-replica-set-arbiter` + - :doc:`/tutorial/expand-replica-set` diff --git a/source/core/replica-set-architectures.txt b/source/core/replica-set-architectures.txt index a46996a841c..a6f5656d6c0 100644 --- a/source/core/replica-set-architectures.txt +++ b/source/core/replica-set-architectures.txt @@ -172,8 +172,8 @@ concern to request acknowledgement from specific members. .. seealso:: - :doc:`/data-center-awareness` and - :doc:`/core/workload-isolation`. + - :doc:`/data-center-awareness` + - :doc:`/core/workload-isolation` Use Journaling to Protect Against Power Failures ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/source/core/replica-set-write-concern.txt b/source/core/replica-set-write-concern.txt index 93cdf826353..ddd85111a72 100644 --- a/source/core/replica-set-write-concern.txt +++ b/source/core/replica-set-write-concern.txt @@ -103,6 +103,7 @@ instructions on write concern support and syntax. For complete documentation on write concern, see :ref:`write-concern`. .. seealso:: + :ref:`write-methods-incompatibility` .. _repl-set-modify-default-write-concern: diff --git a/source/core/schema-validation.txt b/source/core/schema-validation.txt index 7255648058b..1c80072adbe 100644 --- a/source/core/schema-validation.txt +++ b/source/core/schema-validation.txt @@ -420,6 +420,6 @@ Additional Information .. seealso:: - :dbcommand:`collMod`, :method:`db.createCollection()`, - - :method:`db.getCollectionInfos()`. + - :dbcommand:`collMod` + - :method:`db.createCollection()` + - :method:`db.getCollectionInfos()` diff --git a/source/core/security-mongodb-configuration.txt b/source/core/security-mongodb-configuration.txt index a7a2a049a44..704ae245983 100644 --- a/source/core/security-mongodb-configuration.txt +++ b/source/core/security-mongodb-configuration.txt @@ -34,4 +34,6 @@ Considerations .. include:: /includes/fact-bind-to-all-ips.rst .. seealso:: - :ref:`security-firewalls`, :ref:`configuration-security` + + - :ref:`security-firewalls` + - :ref:`configuration-security` diff --git a/source/core/sharding-balancer-administration.txt b/source/core/sharding-balancer-administration.txt index 99778f073d9..3bafe94ea4d 100644 --- a/source/core/sharding-balancer-administration.txt +++ b/source/core/sharding-balancer-administration.txt @@ -95,7 +95,7 @@ Window ` for details. .. seealso:: - :doc:`/tutorial/manage-sharded-cluster-balancer`. + :doc:`/tutorial/manage-sharded-cluster-balancer` .. [#auto-distribute] diff --git a/source/core/sharding-data-partitioning.txt b/source/core/sharding-data-partitioning.txt index a9e44ed647f..f60a6626dff 100644 --- a/source/core/sharding-data-partitioning.txt +++ b/source/core/sharding-data-partitioning.txt @@ -90,11 +90,8 @@ Empty Collection .. seealso:: - - :method:`sh.balancerCollectionStatus()` - .. _sharding-chunk-size: Chunk Size @@ -184,8 +181,6 @@ For more information on the sharded cluster :term:`balancer`, see .. seealso:: - - :serverstatus:`shardingStatistics.countDonorMoveChunkLockTimeout` Balancing diff --git a/source/core/transactions-production-consideration.txt b/source/core/transactions-production-consideration.txt index 4d065e705a1..1ca661d14ee 100644 --- a/source/core/transactions-production-consideration.txt +++ b/source/core/transactions-production-consideration.txt @@ -267,8 +267,6 @@ operation to complete. .. seealso:: - - - :ref:`transactions-write-conflicts` - :ref:`transactions-stale-reads` diff --git a/source/core/transactions.txt b/source/core/transactions.txt index 7737f096e7a..8febb3a9ca0 100644 --- a/source/core/transactions.txt +++ b/source/core/transactions.txt @@ -386,7 +386,7 @@ For a list of operations not supported in transactions, see .. seealso:: - - :doc:`Transactions and Operations Reference ` + :doc:`Transactions and Operations Reference ` .. _transactions-create-collections-indexes: diff --git a/source/faq/fundamentals.txt b/source/faq/fundamentals.txt index 1052e4c62ad..bbede4711b1 100644 --- a/source/faq/fundamentals.txt +++ b/source/faq/fundamentals.txt @@ -38,7 +38,8 @@ the columns in a relational database table. .. seealso:: - :doc:`/reference/sql-comparison`, :doc:`/introduction` + - :doc:`/reference/sql-comparison` + - :doc:`/introduction` How do I create a database and a collection? -------------------------------------------- diff --git a/source/faq/replica-sets.txt b/source/faq/replica-sets.txt index 0f8a1f0598a..63f5e2efdd3 100644 --- a/source/faq/replica-sets.txt +++ b/source/faq/replica-sets.txt @@ -52,7 +52,7 @@ possible for the members of the node to keep up with the replication. .. seealso:: - :doc:`/core/replica-set-elections` + :doc:`/core/replica-set-elections` Why use journaling if replication already provides data redundancy? ------------------------------------------------------------------- diff --git a/source/includes/extracts-export-tools-performance-considerations-base.yaml b/source/includes/extracts-export-tools-performance-considerations-base.yaml index 3216592e7ac..85eeccd1c44 100644 --- a/source/includes/extracts-export-tools-performance-considerations-base.yaml +++ b/source/includes/extracts-export-tools-performance-considerations-base.yaml @@ -27,10 +27,11 @@ content: | .. seealso:: - :doc:`/core/backups` and :mms-docs:`MongoDB Cloud Manager Backup documentation ` - for more information on backing up MongoDB instances. Additionally, - consider the following reference documentation for the MongoDB import/export - tools: + :doc:`/core/backups` and + :mms-docs:`MongoDB Cloud Manager Backup documentation + ` for more information on backing up + MongoDB instances. Additionally, consider the following reference + documentation for the MongoDB Database Tools: - :binary:`~bin.mongoexport` - :binary:`~bin.mongoimport` diff --git a/source/includes/extracts-parent-fact-count-on-sharded-clusters.yaml b/source/includes/extracts-parent-fact-count-on-sharded-clusters.yaml index 85bdd1d7f91..06c96967967 100644 --- a/source/includes/extracts-parent-fact-count-on-sharded-clusters.yaml +++ b/source/includes/extracts-parent-fact-count-on-sharded-clusters.yaml @@ -28,7 +28,8 @@ content: | .. seealso:: - :pipeline:`$collStats` to return an approximate count based on the collection's metadata. + :pipeline:`$collStats` to return an approximate count based on the + collection's metadata. ... \ No newline at end of file diff --git a/source/includes/extracts-transactions.yaml b/source/includes/extracts-transactions.yaml index 3c5a53db99a..77bcb637867 100644 --- a/source/includes/extracts-transactions.yaml +++ b/source/includes/extracts-transactions.yaml @@ -608,7 +608,7 @@ content: | .. seealso:: - :ref:`transactions-create-collections-indexes` + :ref:`transactions-create-collections-indexes` --- ref: transactions-insert-implicit-collection-creation content: | @@ -627,7 +627,7 @@ content: | .. seealso:: - :ref:`transactions-create-collections-indexes` + :ref:`transactions-create-collections-indexes` --- ref: transactions-explicit-ddl @@ -643,6 +643,6 @@ content: | .. seealso:: - :ref:`transactions-create-collections-indexes` + :ref:`transactions-create-collections-indexes` ... diff --git a/source/includes/fact-agg-memory-limit.rst b/source/includes/fact-agg-memory-limit.rst index f77dd6a65a7..9908db74e55 100644 --- a/source/includes/fact-agg-memory-limit.rst +++ b/source/includes/fact-agg-memory-limit.rst @@ -18,5 +18,6 @@ aggregation pipeline stages to write data to temporary files. .. seealso:: - :ref:`sort-memory-limit` and :ref:`group-memory-limit`. + - :ref:`sort-memory-limit` + - :ref:`group-memory-limit` diff --git a/source/includes/table-transactions-operations.rst b/source/includes/table-transactions-operations.rst index cc1d965c6d2..0da69fb0b82 100644 --- a/source/includes/table-transactions-operations.rst +++ b/source/includes/table-transactions-operations.rst @@ -70,7 +70,7 @@ .. seealso:: - :ref:`transactions-operations-ddl` + :ref:`transactions-operations-ddl` * - | :method:`db.collection.insertMany()` | :method:`db.collection.insertOne()` @@ -86,7 +86,7 @@ .. seealso:: - :ref:`transactions-operations-ddl` + :ref:`transactions-operations-ddl` * - :method:`db.collection.save()` - @@ -98,7 +98,7 @@ .. seealso:: - :ref:`transactions-operations-ddl` + :ref:`transactions-operations-ddl` * - | :method:`db.collection.updateOne()` | :method:`db.collection.updateMany()` @@ -115,7 +115,7 @@ .. seealso:: - :ref:`transactions-operations-ddl` + :ref:`transactions-operations-ddl` * - | :method:`db.collection.bulkWrite()` | Various :doc:`/reference/method/js-bulk` @@ -128,4 +128,4 @@ .. seealso:: - :ref:`transactions-operations-ddl` + :ref:`transactions-operations-ddl` diff --git a/source/introduction.txt b/source/introduction.txt index 8b681d15848..55409b60083 100644 --- a/source/introduction.txt +++ b/source/introduction.txt @@ -87,9 +87,7 @@ operations (CRUD) ` as well as: .. seealso:: - :doc:`/reference/sql-comparison` - - :doc:`/reference/sql-aggregation-comparison` - - .. include:: /includes/extracts/mongodb-live-2020-query-language.rst High Availability diff --git a/source/reference/aggregation-commands-comparison.txt b/source/reference/aggregation-commands-comparison.txt index 2c04bc53d6b..7d6f9892d66 100644 --- a/source/reference/aggregation-commands-comparison.txt +++ b/source/reference/aggregation-commands-comparison.txt @@ -147,4 +147,4 @@ MongoDB aggregation commands. .. seealso:: - - :doc:`/reference/map-reduce-to-aggregation-pipeline` \ No newline at end of file + :doc:`/reference/map-reduce-to-aggregation-pipeline` \ No newline at end of file diff --git a/source/reference/aggregation-variables.txt b/source/reference/aggregation-variables.txt index 2efa2226884..a2b7af1f879 100644 --- a/source/reference/aggregation-variables.txt +++ b/source/reference/aggregation-variables.txt @@ -109,4 +109,6 @@ MongoDB offers the following system variables: .. seealso:: - :expression:`$let`, :pipeline:`$redact`, :expression:`$map` + - :expression:`$let` + - :pipeline:`$redact` + - :expression:`$map` diff --git a/source/reference/bson-types.txt b/source/reference/bson-types.txt index 4233dab8a80..01501224d57 100644 --- a/source/reference/bson-types.txt +++ b/source/reference/bson-types.txt @@ -65,6 +65,7 @@ benefits: roughly equivalent to sorting by creation time. .. important:: + .. include:: /includes/fact-ObjectId-timestamp-order.rst .. seealso:: diff --git a/source/reference/command/clearJumboFlag.txt b/source/reference/command/clearJumboFlag.txt index 8d375e1c033..b40411692ea 100644 --- a/source/reference/command/clearJumboFlag.txt +++ b/source/reference/command/clearJumboFlag.txt @@ -307,6 +307,4 @@ To verify the operation, run :method:`sh.status()` again. The .. seealso:: - - :doc:`/tutorial/clear-jumbo-flag` diff --git a/source/reference/command/collMod.txt b/source/reference/command/collMod.txt index 2544e28a181..553a08859f8 100644 --- a/source/reference/command/collMod.txt +++ b/source/reference/command/collMod.txt @@ -113,9 +113,8 @@ Index Options .. seealso:: - - - :method:`db.collection.hideIndex()` and :method:`db.collection.unhideIndex()`. + - :method:`db.collection.hideIndex()` + - :method:`db.collection.unhideIndex()` .. versionadded:: 4.4 @@ -140,8 +139,6 @@ Index Options .. seealso:: - - - :doc:`/core/index-hidden` - :method:`db.collection.hideIndex()` - :method:`db.collection.unhideIndex()` @@ -356,8 +353,6 @@ To hide a text index, you must specify the index by ``name`` and not by .. seealso:: - - - :doc:`/core/index-hidden` - :method:`db.collection.hideIndex()` - :method:`db.collection.unhideIndex()` diff --git a/source/reference/command/connPoolStats.txt b/source/reference/command/connPoolStats.txt index 4f77fb1a2db..05b47641e72 100644 --- a/source/reference/command/connPoolStats.txt +++ b/source/reference/command/connPoolStats.txt @@ -426,7 +426,7 @@ Output .. seealso:: - :parameter:`taskExecutorPoolSize` + :parameter:`taskExecutorPoolSize` .. data:: connPoolStats.pools.NetworkInterfaceTL-ShardRegistry diff --git a/source/reference/command/create.txt b/source/reference/command/create.txt index 2ed3f483f2a..4fb0e401530 100644 --- a/source/reference/command/create.txt +++ b/source/reference/command/create.txt @@ -411,7 +411,6 @@ The following operation creates a ``managementRatings`` view with the :method:`db.createView()` - .. _create-collation-example: Specify Collation @@ -465,7 +464,8 @@ The same operation on a collection that uses simple binary collation .. seealso:: - :ref:`create-view-w-collation`, :ref:`ref-collation-and-views` + - :ref:`create-view-w-collation` + - :ref:`ref-collation-and-views` Specify Storage Engine Options ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/source/reference/command/currentOp.txt b/source/reference/command/currentOp.txt index 0052882ab13..f28264779a0 100644 --- a/source/reference/command/currentOp.txt +++ b/source/reference/command/currentOp.txt @@ -276,8 +276,7 @@ Output Fields .. seealso:: - :data:`currentOp.runBy` - + :data:`currentOp.runBy` .. versionadded:: 4.2 @@ -830,8 +829,7 @@ Output Fields .. seealso:: - :method:`cursor.addOption()` - + :method:`cursor.addOption()` .. data:: currentOp.cursor.tailable diff --git a/source/reference/command/dropIndexes.txt b/source/reference/command/dropIndexes.txt index 28bdac3e150..492b326d6f2 100644 --- a/source/reference/command/dropIndexes.txt +++ b/source/reference/command/dropIndexes.txt @@ -194,5 +194,6 @@ Examples .. seealso:: - :method:`db.collection.dropIndexes()` and :method:`db.collection.dropIndex()` + - :method:`db.collection.dropIndexes()` + - :method:`db.collection.dropIndex()` diff --git a/source/reference/command/endSessions.txt b/source/reference/command/endSessions.txt index 26dc3b09979..2e35db397b2 100644 --- a/source/reference/command/endSessions.txt +++ b/source/reference/command/endSessions.txt @@ -57,7 +57,5 @@ A user can only end sessions belonging to the user. .. seealso:: - :dbcommand:`startSession` - - :pipeline:`$listLocalSessions` - - :pipeline:`$listSessions` diff --git a/source/reference/command/getLastError.txt b/source/reference/command/getLastError.txt index d01732d7515..fae5bd3d332 100644 --- a/source/reference/command/getLastError.txt +++ b/source/reference/command/getLastError.txt @@ -91,7 +91,7 @@ Definition .. seealso:: - :doc:`/reference/write-concern` + :doc:`/reference/write-concern` .. _getLastError-output: diff --git a/source/reference/command/moveChunk.txt b/source/reference/command/moveChunk.txt index 5b414795c8c..6cceb331a2f 100644 --- a/source/reference/command/moveChunk.txt +++ b/source/reference/command/moveChunk.txt @@ -181,9 +181,10 @@ Definition .. seealso:: - :dbcommand:`split`, :method:`sh.moveChunk()`, - - :method:`sh.splitAt()`, and :method:`sh.splitFind()`. + - :dbcommand:`split` + - :method:`sh.moveChunk()` + - :method:`sh.splitAt()` + - :method:`sh.splitFind()` Considerations -------------- diff --git a/source/reference/command/planCacheClear.txt b/source/reference/command/planCacheClear.txt index f069f3d0c5f..cba08ef1427 100644 --- a/source/reference/command/planCacheClear.txt +++ b/source/reference/command/planCacheClear.txt @@ -133,5 +133,6 @@ The following example clears all the cached query plans for the ) .. seealso:: + - :method:`PlanCache.clearPlansByQuery()` - :method:`PlanCache.clear()` diff --git a/source/reference/command/planCacheClearFilters.txt b/source/reference/command/planCacheClearFilters.txt index 57930a9aa45..473615863ea 100644 --- a/source/reference/command/planCacheClearFilters.txt +++ b/source/reference/command/planCacheClearFilters.txt @@ -167,5 +167,6 @@ collection: ) .. seealso:: - :dbcommand:`planCacheListFilters`, - :dbcommand:`planCacheSetFilter` + + - :dbcommand:`planCacheListFilters` + - :dbcommand:`planCacheSetFilter` diff --git a/source/reference/command/planCacheListFilters.txt b/source/reference/command/planCacheListFilters.txt index ff24c040a62..214438d8b63 100644 --- a/source/reference/command/planCacheListFilters.txt +++ b/source/reference/command/planCacheListFilters.txt @@ -148,5 +148,6 @@ the following form: The status of the command. .. seealso:: - :dbcommand:`planCacheClearFilters`, - :dbcommand:`planCacheSetFilter` + + - :dbcommand:`planCacheClearFilters` + - :dbcommand:`planCacheSetFilter` diff --git a/source/reference/command/planCacheSetFilter.txt b/source/reference/command/planCacheSetFilter.txt index 190d6cd544b..3c739a21d2e 100644 --- a/source/reference/command/planCacheSetFilter.txt +++ b/source/reference/command/planCacheSetFilter.txt @@ -196,6 +196,7 @@ For the query shape, the query optimizer will only consider indexed plans which use the index ``{ item: 1, order_date: 1, quantity: 1 }``. .. seealso:: + - :dbcommand:`planCacheClearFilters` - :dbcommand:`planCacheListFilters` - :pipeline:`$planCacheStats` diff --git a/source/reference/command/profile.txt b/source/reference/command/profile.txt index 07532d5679f..8dca1e9d8a2 100644 --- a/source/reference/command/profile.txt +++ b/source/reference/command/profile.txt @@ -185,4 +185,5 @@ through :binary:`~bin.mongos`, you can only run the :dbcommand:`profile` command against the ``admin`` database. .. seealso:: - :ref:`Database Profiling `. + + :ref:`Database Profiling ` diff --git a/source/reference/command/refineCollectionShardKey.txt b/source/reference/command/refineCollectionShardKey.txt index cbe7f602187..0c363a2e872 100644 --- a/source/reference/command/refineCollectionShardKey.txt +++ b/source/reference/command/refineCollectionShardKey.txt @@ -318,4 +318,4 @@ you can run :method:`sh.status()`. .. seealso:: - :doc:`/core/sharding-shard-key/` + :doc:`/core/sharding-shard-key/` diff --git a/source/reference/command/refreshSessions.txt b/source/reference/command/refreshSessions.txt index d5d517c7391..ede0c3ffd26 100644 --- a/source/reference/command/refreshSessions.txt +++ b/source/reference/command/refreshSessions.txt @@ -58,7 +58,5 @@ A user can only refresh sessions belonging to the user. .. seealso:: - :dbcommand:`startSession` - - :pipeline:`$listLocalSessions` - - :pipeline:`$listSessions` diff --git a/source/reference/command/replSetGetConfig.txt b/source/reference/command/replSetGetConfig.txt index 0b602e9844e..aaa11021e3c 100644 --- a/source/reference/command/replSetGetConfig.txt +++ b/source/reference/command/replSetGetConfig.txt @@ -220,5 +220,6 @@ command run with :ref:`commitmentStatus: true .. seealso:: - :method:`rs.conf()`, :method:`rs.reconfig()` + - :method:`rs.conf()` + - :method:`rs.reconfig()` diff --git a/source/reference/command/replSetInitiate.txt b/source/reference/command/replSetInitiate.txt index 2625f92d1e2..ec1df06fe71 100644 --- a/source/reference/command/replSetInitiate.txt +++ b/source/reference/command/replSetInitiate.txt @@ -80,6 +80,7 @@ documents such as the ``arbiterOnly`` setting in this example. .. seealso:: - :doc:`/reference/replica-configuration`, - :doc:`/administration/replica-set-deployment`, and :ref:`Replica Set - Reconfiguration `. + - :doc:`/reference/replica-configuration` + - :doc:`/administration/replica-set-deployment` + - :ref:`Replica Set Reconfiguration + ` diff --git a/source/reference/command/replSetResizeOplog.txt b/source/reference/command/replSetResizeOplog.txt index 0632401aed0..47a546e81af 100644 --- a/source/reference/command/replSetResizeOplog.txt +++ b/source/reference/command/replSetResizeOplog.txt @@ -105,10 +105,7 @@ Definition .. seealso:: - - - :option:`--oplogSize ` / :setting:`replication.oplogSizeMB` - - :option:`--oplogMinRetentionHours ` / :setting:`storage.oplogMinRetentionHours` diff --git a/source/reference/command/serverStatus.txt b/source/reference/command/serverStatus.txt index 2eb60dc6fa9..77c6ebb3233 100644 --- a/source/reference/command/serverStatus.txt +++ b/source/reference/command/serverStatus.txt @@ -534,8 +534,7 @@ primary: .. seealso:: - :rsconf:`settings.catchUpTakeoverDelayMillis` - + :rsconf:`settings.catchUpTakeoverDelayMillis` *Available starting in 4.2.1 (and 4.0.13)* @@ -1130,8 +1129,6 @@ logicalSessionRecordCache .. seealso:: - - - :pipeline:`$listLocalSessions` - :parameter:`logicalSessionRefreshMillis` @@ -1142,7 +1139,7 @@ logicalSessionRecordCache .. seealso:: - :parameter:`logicalSessionRefreshMillis` + :parameter:`logicalSessionRefreshMillis` .. serverstatus:: logicalSessionRecordCache.lastSessionsCollectionJobDurationMillis @@ -3396,7 +3393,6 @@ shardedIndexConsistency .. seealso:: - :parameter:`enableShardedIndexConsistencyCheck` parameter - - :parameter:`shardedIndexConsistencyCheckIntervalMS` parameter *New in version 4.4. (and 4.2.6)* @@ -3421,7 +3417,6 @@ shardedIndexConsistency .. seealso:: - :parameter:`enableShardedIndexConsistencyCheck` parameter - - :parameter:`shardedIndexConsistencyCheckIntervalMS` parameter *New in version 4.4. (and 4.2.6)* @@ -5047,7 +5042,6 @@ metrics :serverstatus:`metrics.repl.apply.batchSize` - .. serverstatus:: metrics.repl.buffer MongoDB buffers oplog operations from the replication sync source diff --git a/source/reference/command/shardCollection.txt b/source/reference/command/shardCollection.txt index d78b03c584c..51938e1baaa 100644 --- a/source/reference/command/shardCollection.txt +++ b/source/reference/command/shardCollection.txt @@ -248,12 +248,8 @@ See :ref:`pre-define-zone-range-hashed-example` for an example. .. seealso:: - - - - :ref:`initial-chunks` - + - :ref:`initial-chunks` - :dbcommand:`balancerCollectionStatus` - Uniqueness ~~~~~~~~~~ @@ -286,10 +282,7 @@ in the ``records`` database and uses the ``zipcode`` field as the .. seealso:: - :dbcommand:`refineCollectionShardKey` - - :method:`sh.balancerCollectionStatus()` - - :method:`sh.shardCollection()` - - :doc:`/sharding` diff --git a/source/reference/command/shardConnPoolStats.txt b/source/reference/command/shardConnPoolStats.txt index ae219eed572..652475f5121 100644 --- a/source/reference/command/shardConnPoolStats.txt +++ b/source/reference/command/shardConnPoolStats.txt @@ -106,8 +106,7 @@ Output .. seealso:: - :rsconf:`members[n].tags` - + :rsconf:`members[n].tags` .. data:: shardConnPoolStats.createdByType diff --git a/source/reference/command/split.txt b/source/reference/command/split.txt index e6c68c03a48..1cee6fa4897 100644 --- a/source/reference/command/split.txt +++ b/source/reference/command/split.txt @@ -140,10 +140,11 @@ this purpose. .. seealso:: - :dbcommand:`moveChunk`, :method:`sh.moveChunk()`, - - :method:`sh.splitAt()`, and :method:`sh.splitFind()`, which wrap the - functionality of :dbcommand:`split`. + - :dbcommand:`moveChunk` + - :method:`sh.moveChunk()` + - :method:`sh.splitAt()` + - :method:`sh.splitFind()` + - :dbcommand:`split` Examples -------- diff --git a/source/reference/command/splitChunk.txt b/source/reference/command/splitChunk.txt index ebe1bf66185..c432e7ceed0 100644 --- a/source/reference/command/splitChunk.txt +++ b/source/reference/command/splitChunk.txt @@ -25,11 +25,11 @@ Definition .. seealso:: - :dbcommand:`moveChunk` and :method:`sh.moveChunk()`. - - - The :dbcommand:`splitChunk` command takes a document with the following fields: + - :dbcommand:`moveChunk` + - :method:`sh.moveChunk()` + The :dbcommand:`splitChunk` command takes a document with the + following fields: .. list-table:: :header-rows: 1 diff --git a/source/reference/command/startSession.txt b/source/reference/command/startSession.txt index 78611967c4a..90396b31917 100644 --- a/source/reference/command/startSession.txt +++ b/source/reference/command/startSession.txt @@ -41,8 +41,7 @@ Definition .. seealso:: - :method:`Mongo.startSession()` - + :method:`Mongo.startSession()` Behavior -------- diff --git a/source/reference/configuration-options.txt b/source/reference/configuration-options.txt index 181d315012a..c2ed196e858 100644 --- a/source/reference/configuration-options.txt +++ b/source/reference/configuration-options.txt @@ -1598,7 +1598,7 @@ Core Options .. seealso:: - :ref:`ssl-disallow-protocols` + :ref:`ssl-disallow-protocols` .. setting:: net.tls.FIPSMode @@ -2141,7 +2141,7 @@ Core Options .. seealso:: - :ref:`ssl-disallow-protocols` + :ref:`ssl-disallow-protocols` .. setting:: net.ssl.FIPSMode @@ -2608,7 +2608,7 @@ Key Management Configuration Options .. seealso:: - :ref:`kmip-master-key-rotation` + :ref:`kmip-master-key-rotation` diff --git a/source/reference/limits.txt b/source/reference/limits.txt index 28986bcee03..3ee46cea7d5 100644 --- a/source/reference/limits.txt +++ b/source/reference/limits.txt @@ -107,9 +107,7 @@ Namespaces .. seealso:: - :ref:`faq-restrictions-on-collection-names` - - + :ref:`faq-restrictions-on-collection-names` .. _index-limitations: @@ -179,10 +177,9 @@ Indexes .. include:: /includes/geo-data-limit-for-2dsphere.rst -.. seealso:: - - The unique indexes limit in :ref:`limits-sharding-operations`. + .. seealso:: + The unique indexes limit in :ref:`limits-sharding-operations`. .. limit:: NaN values returned from Covered Queries by the WiredTiger Storage Engine are always of type double diff --git a/source/reference/method/Bulk.find.arrayFilters.txt b/source/reference/method/Bulk.find.arrayFilters.txt index 189c3980c34..94dfa7e5e5d 100644 --- a/source/reference/method/Bulk.find.arrayFilters.txt +++ b/source/reference/method/Bulk.find.arrayFilters.txt @@ -43,13 +43,8 @@ Example .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find.update()` - - :method:`Bulk.find.updateOne()` - - :method:`Bulk.execute()` - - :ref:`All Bulk Methods ` diff --git a/source/reference/method/Bulk.find.collation.txt b/source/reference/method/Bulk.find.collation.txt index 1b5e7767b14..123567bd17c 100644 --- a/source/reference/method/Bulk.find.collation.txt +++ b/source/reference/method/Bulk.find.collation.txt @@ -294,13 +294,8 @@ filter. .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.find.updateOne()` - - :method:`Bulk.execute()` - - :ref:`All Bulk Methods ` diff --git a/source/reference/method/Bulk.find.hint.txt b/source/reference/method/Bulk.find.hint.txt index ed88ed3cafc..670806ee1ef 100644 --- a/source/reference/method/Bulk.find.hint.txt +++ b/source/reference/method/Bulk.find.hint.txt @@ -78,11 +78,7 @@ To view the indexes used, you can use the :pipeline:`$indexStats` pipeline: .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.execute()` - - :ref:`All Bulk Methods ` diff --git a/source/reference/method/Bulk.find.remove.txt b/source/reference/method/Bulk.find.remove.txt index 10e5ae68628..5f3c29f3631 100644 --- a/source/reference/method/Bulk.find.remove.txt +++ b/source/reference/method/Bulk.find.remove.txt @@ -41,11 +41,7 @@ collection where the ``status`` equals ``"D"``: .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.find.removeOne()` - - :method:`Bulk.execute()` diff --git a/source/reference/method/Bulk.find.removeOne.txt b/source/reference/method/Bulk.find.removeOne.txt index 07e2319baca..04e15eb825f 100644 --- a/source/reference/method/Bulk.find.removeOne.txt +++ b/source/reference/method/Bulk.find.removeOne.txt @@ -44,13 +44,8 @@ equal to ``"P"``. .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.find.remove()` - - :method:`Bulk.execute()` - - :ref:`All Bulk Methods ` diff --git a/source/reference/method/Bulk.find.replaceOne.txt b/source/reference/method/Bulk.find.replaceOne.txt index 62ccf6351ae..949fc470998 100644 --- a/source/reference/method/Bulk.find.replaceOne.txt +++ b/source/reference/method/Bulk.find.replaceOne.txt @@ -74,11 +74,7 @@ for the ``items`` collection, and adds various .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.execute()` - - :ref:`All Bulk Methods ` diff --git a/source/reference/method/Bulk.find.txt b/source/reference/method/Bulk.find.txt index e4c8dfa6938..c9851389767 100644 --- a/source/reference/method/Bulk.find.txt +++ b/source/reference/method/Bulk.find.txt @@ -82,7 +82,5 @@ condition for their respective actions: .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.execute()` diff --git a/source/reference/method/Bulk.find.update.txt b/source/reference/method/Bulk.find.update.txt index 957deb5b048..2a09f59a232 100644 --- a/source/reference/method/Bulk.find.update.txt +++ b/source/reference/method/Bulk.find.update.txt @@ -132,13 +132,8 @@ example, the following uses: .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.find.updateOne()` - - :method:`Bulk.execute()` - - :ref:`All Bulk Methods ` diff --git a/source/reference/method/Bulk.find.updateOne.txt b/source/reference/method/Bulk.find.updateOne.txt index d8a665ffb59..2e04d739f48 100644 --- a/source/reference/method/Bulk.find.updateOne.txt +++ b/source/reference/method/Bulk.find.updateOne.txt @@ -153,15 +153,9 @@ example, the following uses: .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.find.update()` - - :method:`Bulk.find.replaceOne()` - - :method:`Bulk.execute()` - - :ref:`All Bulk Methods ` diff --git a/source/reference/method/Bulk.find.upsert.txt b/source/reference/method/Bulk.find.upsert.txt index c3151b6f5e3..614b266e689 100644 --- a/source/reference/method/Bulk.find.upsert.txt +++ b/source/reference/method/Bulk.find.upsert.txt @@ -321,11 +321,7 @@ If neither the update document nor the query document specifies an .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.execute()` - - :ref:`All Bulk Methods ` diff --git a/source/reference/method/Bulk.getOperations.txt b/source/reference/method/Bulk.getOperations.txt index a6ea9f4bcbb..d072aa860ed 100644 --- a/source/reference/method/Bulk.getOperations.txt +++ b/source/reference/method/Bulk.getOperations.txt @@ -117,5 +117,6 @@ The array contains documents with the following fields: .. seealso:: - :method:`Bulk()` and :method:`Bulk.execute()`. + - :method:`Bulk()` + - :method:`Bulk.execute()` diff --git a/source/reference/method/Bulk.insert.txt b/source/reference/method/Bulk.insert.txt index b57fe5752e1..df8c0e980d5 100644 --- a/source/reference/method/Bulk.insert.txt +++ b/source/reference/method/Bulk.insert.txt @@ -61,7 +61,5 @@ multiple documents: .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk.execute()` diff --git a/source/reference/method/Date.txt b/source/reference/method/Date.txt index df0d528aada..093b2d022c1 100644 --- a/source/reference/method/Date.txt +++ b/source/reference/method/Date.txt @@ -72,11 +72,9 @@ collection, the following operation inserts a document with the field .. seealso:: - - - :update:`$currentDate` - - - :ref:`NOW aggregation variable usage ` to update with aggregation pipeline + - :ref:`NOW aggregation variable usage ` to + update with aggregation pipeline Return Date as a String @@ -104,5 +102,6 @@ The following example uses ``new Date()`` to return var myDate = new Date("2016-05-18T16:00:00Z"); .. seealso:: - :ref:`BSON Date `, :ref:`mongo Shell - Date ` + + - :ref:`BSON Date ` + - :ref:`mongo Shell Date ` diff --git a/source/reference/method/Mongo.getReadPrefMode.txt b/source/reference/method/Mongo.getReadPrefMode.txt index 2ef1bb4fb81..6dea5b9357c 100644 --- a/source/reference/method/Mongo.getReadPrefMode.txt +++ b/source/reference/method/Mongo.getReadPrefMode.txt @@ -42,6 +42,7 @@ Mongo.getReadPrefMode() .. seealso:: - :doc:`/core/read-preference`, - :method:`~cursor.readPref()`, :method:`~Mongo.setReadPref()`, and - :method:`~Mongo.getReadPrefTagSet()`. + - :doc:`/core/read-preference` + - :method:`~cursor.readPref()` + - :method:`~Mongo.setReadPref()` + - :method:`~Mongo.getReadPrefTagSet()` diff --git a/source/reference/method/Mongo.getReadPrefTagSet.txt b/source/reference/method/Mongo.getReadPrefTagSet.txt index 2ccd1f0e07f..1983443f4e9 100644 --- a/source/reference/method/Mongo.getReadPrefTagSet.txt +++ b/source/reference/method/Mongo.getReadPrefTagSet.txt @@ -33,6 +33,7 @@ Mongo.getReadPrefTagSet() .. seealso:: - :doc:`/core/read-preference`, - :method:`~cursor.readPref()`, :method:`~Mongo.setReadPref()`, and - :method:`~Mongo.getReadPrefTagSet()`. + - :doc:`/core/read-preference` + - :method:`~cursor.readPref()` + - :method:`~Mongo.setReadPref()` + - :method:`~Mongo.getReadPrefTagSet()` diff --git a/source/reference/method/Mongo.getSecondaryOk.txt b/source/reference/method/Mongo.getSecondaryOk.txt index 3551680a3cd..fe27a7c478a 100644 --- a/source/reference/method/Mongo.getSecondaryOk.txt +++ b/source/reference/method/Mongo.getSecondaryOk.txt @@ -33,5 +33,4 @@ This example calls :method:`~Mongo.getSecondaryOk()`: .. seealso:: - :method:`Mongo.setSecondaryOk()` - - :method:`rs.secondaryOk()` \ No newline at end of file diff --git a/source/reference/method/Mongo.isCausalConsistency.txt b/source/reference/method/Mongo.isCausalConsistency.txt index 14c18168eb6..06336f16cda 100644 --- a/source/reference/method/Mongo.isCausalConsistency.txt +++ b/source/reference/method/Mongo.isCausalConsistency.txt @@ -39,5 +39,4 @@ associated with the :binary:`~bin.mongo` shell's global ``db`` variable: .. seealso:: - :method:`db.getMongo()` - - :method:`Mongo.setCausalConsistency()` diff --git a/source/reference/method/Mongo.setCausalConsistency.txt b/source/reference/method/Mongo.setCausalConsistency.txt index d984a84fab2..270dd83d22c 100644 --- a/source/reference/method/Mongo.setCausalConsistency.txt +++ b/source/reference/method/Mongo.setCausalConsistency.txt @@ -70,6 +70,5 @@ To check if causal consistency is enabled for a connection, use the .. seealso:: - :method:`db.getMongo()` - - :method:`Mongo.isCausalConsistency()` diff --git a/source/reference/method/Mongo.setSecondaryOk.txt b/source/reference/method/Mongo.setSecondaryOk.txt index b8237bee94b..699812b5999 100644 --- a/source/reference/method/Mongo.setSecondaryOk.txt +++ b/source/reference/method/Mongo.setSecondaryOk.txt @@ -29,5 +29,4 @@ This example calls :method:`~Mongo.setSecondaryOk()`: .. seealso:: - :method:`Mongo.getSecondaryOk()` - - :method:`rs.secondaryOk()` \ No newline at end of file diff --git a/source/reference/method/Mongo.txt b/source/reference/method/Mongo.txt index 0ed33790c0e..a96d3e85679 100644 --- a/source/reference/method/Mongo.txt +++ b/source/reference/method/Mongo.txt @@ -64,7 +64,7 @@ Description .. seealso:: - :method:`Mongo.getDB()` and :method:`db.getMongo()`. + :method:`Mongo.getDB()` and :method:`db.getMongo()` .. _ClientSideFieldLevelEncryptionOptions: diff --git a/source/reference/method/PlanCache.clear.txt b/source/reference/method/PlanCache.clear.txt index 889322073ad..909260fa643 100644 --- a/source/reference/method/PlanCache.clear.txt +++ b/source/reference/method/PlanCache.clear.txt @@ -39,5 +39,4 @@ includes the :authaction:`planCacheWrite` action. .. seealso:: - :method:`db.collection.getPlanCache()` - - :method:`PlanCache.clearPlansByQuery()` diff --git a/source/reference/method/PlanCache.list.txt b/source/reference/method/PlanCache.list.txt index dc29a26d057..35f1bf51821 100644 --- a/source/reference/method/PlanCache.list.txt +++ b/source/reference/method/PlanCache.list.txt @@ -67,17 +67,16 @@ Definition For details on the output, see :ref:`$planCacheStats output `. - + + Not all queries automatically place a query plan in the cache. + :method:`PlanCache.list()` returns an empty array if there are + currently no query shapes with cached query plans. + .. seealso:: - - :pipeline:`$planCacheStats` - :method:`db.collection.aggregate()` - :method:`~cursor.toArray()` - - Not all queries automatically place a query plan in the cache. - :method:`PlanCache.list()` returns an empty array if there are - currently no query shapes with cached query plans. Consideration ------------- diff --git a/source/reference/method/Session.abortTransaction.txt b/source/reference/method/Session.abortTransaction.txt index a9d17bc2ca1..d61c5816618 100644 --- a/source/reference/method/Session.abortTransaction.txt +++ b/source/reference/method/Session.abortTransaction.txt @@ -189,5 +189,4 @@ or in committing the transaction, the session aborts the transaction. .. seealso:: - :method:`Session.startTransaction()` - - :method:`Session.commitTransaction()` diff --git a/source/reference/method/Session.commitTransaction.txt b/source/reference/method/Session.commitTransaction.txt index 2594ba3db0c..8e3969a26c3 100644 --- a/source/reference/method/Session.commitTransaction.txt +++ b/source/reference/method/Session.commitTransaction.txt @@ -171,5 +171,4 @@ as a single transaction. .. seealso:: - :method:`Session.abortTransaction()` - - :method:`Session.commitTransaction()` diff --git a/source/reference/method/Session.startTransaction.txt b/source/reference/method/Session.startTransaction.txt index 7d983491527..66887d28707 100644 --- a/source/reference/method/Session.startTransaction.txt +++ b/source/reference/method/Session.startTransaction.txt @@ -245,5 +245,4 @@ as a single transaction. .. seealso:: - :method:`Session.abortTransaction()` - - :method:`Session.commitTransaction()` \ No newline at end of file diff --git a/source/reference/method/WriteResult.txt b/source/reference/method/WriteResult.txt index 57410d9dc9a..f344373ad47 100644 --- a/source/reference/method/WriteResult.txt +++ b/source/reference/method/WriteResult.txt @@ -105,6 +105,5 @@ The :method:`WriteResult` has the following properties: .. seealso:: - :method:`WriteResult.hasWriteError()`, - - :method:`WriteResult.hasWriteConcernError()` + - :method:`WriteResult.hasWriteError()` + - :method:`WriteResult.hasWriteConcernError()` diff --git a/source/reference/method/connect.txt b/source/reference/method/connect.txt index 29a0902ed42..5edacb44309 100644 --- a/source/reference/method/connect.txt +++ b/source/reference/method/connect.txt @@ -76,5 +76,7 @@ to ``myDatabase``: .. seealso:: - :method:`Mongo()`, :method:`Mongo.getDB()`, :method:`db.auth()` + - :method:`Mongo()` + - :method:`Mongo.getDB()` + - :method:`db.auth()` diff --git a/source/reference/method/cursor.count.txt b/source/reference/method/cursor.count.txt index ab69f1f6035..8eee3268ae9 100644 --- a/source/reference/method/cursor.count.txt +++ b/source/reference/method/cursor.count.txt @@ -99,7 +99,7 @@ Definition .. seealso:: - :method:`cursor.size()` + :method:`cursor.size()` Behavior diff --git a/source/reference/method/cursor.itcount.txt b/source/reference/method/cursor.itcount.txt index 31af95af578..4caae29062d 100644 --- a/source/reference/method/cursor.itcount.txt +++ b/source/reference/method/cursor.itcount.txt @@ -34,5 +34,4 @@ Definition .. seealso:: - :method:`cursor.count()` - + :method:`cursor.count()` diff --git a/source/reference/method/cursor.max.txt b/source/reference/method/cursor.max.txt index a4773811d2f..37d9d1188ef 100644 --- a/source/reference/method/cursor.max.txt +++ b/source/reference/method/cursor.max.txt @@ -76,8 +76,7 @@ order*. .. seealso:: - :method:`~cursor.min()`. - + :method:`~cursor.min()` :method:`~cursor.max()` exists primarily to support the :binary:`~bin.mongos` (sharding) process, and is a shell wrapper around diff --git a/source/reference/method/cursor.min.txt b/source/reference/method/cursor.min.txt index cd3a50189f9..6426a6759ee 100644 --- a/source/reference/method/cursor.min.txt +++ b/source/reference/method/cursor.min.txt @@ -70,8 +70,7 @@ Definition .. seealso:: - :method:`~cursor.max()`. - + :method:`~cursor.max()` :method:`~cursor.min()` exists primarily to support the :binary:`~bin.mongos` process, and is a shell wrapper around the diff --git a/source/reference/method/cursor.sort.txt b/source/reference/method/cursor.sort.txt index 1326a56144e..f7671a2a3bc 100644 --- a/source/reference/method/cursor.sort.txt +++ b/source/reference/method/cursor.sort.txt @@ -215,9 +215,7 @@ To prevent blocking sorts from consuming too much memory: .. seealso:: - - - - :limit:`Memory Limits on Sort Operations ` + :limit:`Memory Limits on Sort Operations ` .. _sort-limit-results: diff --git a/source/reference/method/db.collection.count.txt b/source/reference/method/db.collection.count.txt index a11f4047663..37dd804f02a 100644 --- a/source/reference/method/db.collection.count.txt +++ b/source/reference/method/db.collection.count.txt @@ -159,8 +159,6 @@ Definition .. seealso:: - - - :method:`cursor.count()` - :method:`db.collection.estimatedDocumentCount()` - :method:`db.collection.countDocuments()` diff --git a/source/reference/method/db.collection.countDocuments.txt b/source/reference/method/db.collection.countDocuments.txt index f5c3767fce4..8a832735bc7 100644 --- a/source/reference/method/db.collection.countDocuments.txt +++ b/source/reference/method/db.collection.countDocuments.txt @@ -189,5 +189,5 @@ Date('01/01/2012')``: - :pipeline:`$group` and :group:`$sum` - :dbcommand:`count` - :ref:`collStats pipeline stage with the count ` - option. + option diff --git a/source/reference/method/db.collection.createIndexes.txt b/source/reference/method/db.collection.createIndexes.txt index f36641fbc95..627be08987e 100644 --- a/source/reference/method/db.collection.createIndexes.txt +++ b/source/reference/method/db.collection.createIndexes.txt @@ -766,9 +766,8 @@ Example .. seealso:: - :method:`db.collection.createIndex()` for examples of - - various index specifications. + :method:`db.collection.createIndex()` for examples of various index + specifications. Create Indexes Without Options ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/source/reference/method/db.collection.estimatedDocumentCount.txt b/source/reference/method/db.collection.estimatedDocumentCount.txt index 2cedf4bab77..26e4122a0e9 100644 --- a/source/reference/method/db.collection.estimatedDocumentCount.txt +++ b/source/reference/method/db.collection.estimatedDocumentCount.txt @@ -101,9 +101,7 @@ all documents in the ``orders`` collection: .. seealso:: - - - :method:`db.collection.countDocuments()` - :dbcommand:`count` - :ref:`collStats pipeline stage with the count ` - option. + option diff --git a/source/reference/method/db.collection.find.txt b/source/reference/method/db.collection.find.txt index 5efe9042c5b..979f9891f45 100644 --- a/source/reference/method/db.collection.find.txt +++ b/source/reference/method/db.collection.find.txt @@ -115,9 +115,7 @@ cursor handling mechanism for the :driver:`driver language .. seealso:: - :ref:`crud-read-cursor` - - :ref:`find-modify-cursor` - - :ref:`find-cursor-methods` Read Concern diff --git a/source/reference/method/db.collection.hideIndex.txt b/source/reference/method/db.collection.hideIndex.txt index e025ba96665..e8a09e8fdd8 100644 --- a/source/reference/method/db.collection.hideIndex.txt +++ b/source/reference/method/db.collection.hideIndex.txt @@ -165,5 +165,4 @@ The ``hidden`` index option is only returned if the value is ``true``. .. seealso:: - :method:`db.collection.unhideIndex()` - - :ref:`db.collection.createIndex() ` diff --git a/source/reference/method/db.collection.initializeOrderedBulkOp.txt b/source/reference/method/db.collection.initializeOrderedBulkOp.txt index bcf89fff631..d9554c1c12b 100644 --- a/source/reference/method/db.collection.initializeOrderedBulkOp.txt +++ b/source/reference/method/db.collection.initializeOrderedBulkOp.txt @@ -72,9 +72,6 @@ the operations: .. seealso:: - :method:`db.collection.initializeUnorderedBulkOp()` - - :method:`Bulk.find()` - - :method:`Bulk.find.removeOne()` - - :method:`Bulk.execute()` diff --git a/source/reference/method/db.collection.initializeUnorderedBulkOp.txt b/source/reference/method/db.collection.initializeUnorderedBulkOp.txt index 8ddb759e3fd..036b634bdef 100644 --- a/source/reference/method/db.collection.initializeUnorderedBulkOp.txt +++ b/source/reference/method/db.collection.initializeUnorderedBulkOp.txt @@ -66,9 +66,6 @@ adds a series of insert operations to add multiple documents: .. seealso:: - :method:`db.collection.initializeOrderedBulkOp()` - - :method:`Bulk()` - - :method:`Bulk.insert()` - - :method:`Bulk.execute()` diff --git a/source/reference/method/db.collection.insertOne.txt b/source/reference/method/db.collection.insertOne.txt index 566688ad340..2a2b29d643d 100644 --- a/source/reference/method/db.collection.insertOne.txt +++ b/source/reference/method/db.collection.insertOne.txt @@ -258,6 +258,5 @@ exception is thrown: .. seealso:: - To insert multiple documents, see - :method:`db.collection.insertMany()`. - + :method:`db.collection.insertMany()` - :data:`WriteResult.writeConcernError` diff --git a/source/reference/method/db.collection.isCapped.txt b/source/reference/method/db.collection.isCapped.txt index 231efffa9f9..dbe7fe16ff9 100644 --- a/source/reference/method/db.collection.isCapped.txt +++ b/source/reference/method/db.collection.isCapped.txt @@ -21,4 +21,4 @@ db.collection.isCapped() .. seealso:: - :doc:`/core/capped-collections` + :doc:`/core/capped-collections` diff --git a/source/reference/method/db.collection.remove.txt b/source/reference/method/db.collection.remove.txt index 7ec49baddc5..953e93c14f9 100644 --- a/source/reference/method/db.collection.remove.txt +++ b/source/reference/method/db.collection.remove.txt @@ -328,10 +328,7 @@ concern errors, the results include the .. seealso:: - - - :method:`WriteResult.hasWriteConcernError()` - - :data:`WriteResult.writeConcernError` Errors Unrelated to Write Concern diff --git a/source/reference/method/db.collection.unhideIndex.txt b/source/reference/method/db.collection.unhideIndex.txt index 579c7282f61..29299465cf2 100644 --- a/source/reference/method/db.collection.unhideIndex.txt +++ b/source/reference/method/db.collection.unhideIndex.txt @@ -173,5 +173,4 @@ value is ``true``. .. seealso:: - :method:`db.collection.hideIndex()` - - :ref:`db.collection.createIndex() ` diff --git a/source/reference/method/db.currentOp.txt b/source/reference/method/db.currentOp.txt index 36665a0224a..f9d6a975144 100644 --- a/source/reference/method/db.currentOp.txt +++ b/source/reference/method/db.currentOp.txt @@ -146,7 +146,7 @@ even without the :authaction:`inprog` privilege action. .. seealso:: - :ref:`create-role-to-manage-ops` + :ref:`create-role-to-manage-ops` .. _currentOp-method-examples: diff --git a/source/reference/method/db.getFreeMonitoringStatus.txt b/source/reference/method/db.getFreeMonitoringStatus.txt index f10fd3276c3..bf6e1e0beea 100644 --- a/source/reference/method/db.getFreeMonitoringStatus.txt +++ b/source/reference/method/db.getFreeMonitoringStatus.txt @@ -20,9 +20,7 @@ db.getFreeMonitoringStatus .. seealso:: - :method:`db.enableFreeMonitoring()` - - + :method:`db.enableFreeMonitoring()` Access Control -------------- diff --git a/source/reference/method/db.getLastError.txt b/source/reference/method/db.getLastError.txt index 34f54e130fa..1b6b735f307 100644 --- a/source/reference/method/db.getLastError.txt +++ b/source/reference/method/db.getLastError.txt @@ -68,8 +68,6 @@ connection, has propagated to at least two members of the replica set. .. seealso:: - - :dbcommand:`getLastError` and :doc:`/reference/write-concern` for all options, :ref:`Write Concern ` for a conceptual overview, :doc:`/crud` for information about all diff --git a/source/reference/method/db.getLastErrorObj.txt b/source/reference/method/db.getLastErrorObj.txt index 76f8b1bcdcc..7eb6c0f48bf 100644 --- a/source/reference/method/db.getLastErrorObj.txt +++ b/source/reference/method/db.getLastErrorObj.txt @@ -104,4 +104,3 @@ a document similar to the following: .. seealso:: :doc:`/reference/write-concern`. - diff --git a/source/reference/method/db.printCollectionStats.txt b/source/reference/method/db.printCollectionStats.txt index 9ec238d640d..5d7837ad754 100644 --- a/source/reference/method/db.printCollectionStats.txt +++ b/source/reference/method/db.printCollectionStats.txt @@ -24,4 +24,4 @@ db.printCollectionStats() .. seealso:: - :doc:`/reference/command/collStats` + :doc:`/reference/command/collStats` diff --git a/source/reference/method/db.printShardingStatus.txt b/source/reference/method/db.printShardingStatus.txt index 2af83fce694..68ff7e92598 100644 --- a/source/reference/method/db.printShardingStatus.txt +++ b/source/reference/method/db.printShardingStatus.txt @@ -70,5 +70,5 @@ Definition .. seealso:: - :method:`sh.status()` + :method:`sh.status()` diff --git a/source/reference/method/rs.reconfig.txt b/source/reference/method/rs.reconfig.txt index a2c10ca7c5b..88e06687e08 100644 --- a/source/reference/method/rs.reconfig.txt +++ b/source/reference/method/rs.reconfig.txt @@ -399,13 +399,8 @@ the primary. .. seealso:: - - - :method:`rs.conf()` - - :ref:`replSetGetConfig-output` - - :doc:`/administration/replica-set-member-configuration` - - :doc:`/administration/replica-set-maintenance` diff --git a/source/reference/method/rs.secondaryOk.txt b/source/reference/method/rs.secondaryOk.txt index b9746c2590e..bdf9dc19bd1 100644 --- a/source/reference/method/rs.secondaryOk.txt +++ b/source/reference/method/rs.secondaryOk.txt @@ -31,5 +31,4 @@ This example calls :method:`rs.secondaryOk()`: .. seealso:: - :method:`Mongo.setSecondaryOk()` - - :method:`Mongo.getSecondaryOk()` \ No newline at end of file diff --git a/source/reference/method/rs.syncFrom.txt b/source/reference/method/rs.syncFrom.txt index 98d12edec93..4e56b023345 100644 --- a/source/reference/method/rs.syncFrom.txt +++ b/source/reference/method/rs.syncFrom.txt @@ -37,5 +37,4 @@ To use the :method:`rs.syncFrom()` helper in the :binary:`~bin.mongo` shell: .. seealso:: - :dbcommand:`replSetSyncFrom`. - + :dbcommand:`replSetSyncFrom` diff --git a/source/reference/method/sh.addShardTag.txt b/source/reference/method/sh.addShardTag.txt index 27af09cea3a..f79fc2c7970 100644 --- a/source/reference/method/sh.addShardTag.txt +++ b/source/reference/method/sh.addShardTag.txt @@ -76,5 +76,6 @@ three shards: .. seealso:: - :method:`sh.addTagRange()` and :method:`sh.removeShardTag()`. + - :method:`sh.addTagRange()` + - :method:`sh.removeShardTag()` diff --git a/source/reference/method/sh.addShardToZone.txt b/source/reference/method/sh.addShardToZone.txt index 4340964cdfb..f9ef80c6a76 100644 --- a/source/reference/method/sh.addShardToZone.txt +++ b/source/reference/method/sh.addShardToZone.txt @@ -125,5 +125,6 @@ balanced cluster, MongoDB routes reads and writes covered by either zone to .. seealso:: - :method:`sh.updateZoneKeyRange()` and :method:`sh.removeShardFromZone()`. + - :method:`sh.updateZoneKeyRange()` + - :method:`sh.removeShardFromZone()` diff --git a/source/reference/method/sh.disableAutoSplit.txt b/source/reference/method/sh.disableAutoSplit.txt index e0b1e04d9bd..ed76ba6d28c 100644 --- a/source/reference/method/sh.disableAutoSplit.txt +++ b/source/reference/method/sh.disableAutoSplit.txt @@ -35,5 +35,6 @@ Description .. include:: /includes/extracts/4.2-changes-stop-balancer-autosplit.rst .. seealso:: + - :doc:`/tutorial/manage-sharded-cluster-balancer` - - :ref:`sharding-balancing`. + - :ref:`sharding-balancing` diff --git a/source/reference/method/sh.enableSharding.txt b/source/reference/method/sh.enableSharding.txt index 0f918dcb302..ef3cb56e159 100644 --- a/source/reference/method/sh.enableSharding.txt +++ b/source/reference/method/sh.enableSharding.txt @@ -113,4 +113,3 @@ To verify, run :method:`sh.status()`. - :method:`sh.shardCollection()` - :doc:`/tutorial/deploy-shard-cluster` - diff --git a/source/reference/method/sh.getBalancerState.txt b/source/reference/method/sh.getBalancerState.txt index 638dc7899bb..694cf013b5d 100644 --- a/source/reference/method/sh.getBalancerState.txt +++ b/source/reference/method/sh.getBalancerState.txt @@ -18,7 +18,7 @@ sh.getBalancerState() :term:`balancer` is enabled and false if the balancer is disabled. This does not reflect the current state of balancing operations: use :method:`sh.isBalancerRunning()` to check the - balancer's current state. + current state of the balancer. .. seealso:: diff --git a/source/reference/method/sh.moveChunk.txt b/source/reference/method/sh.moveChunk.txt index 8909eb6a5f5..94d089b5470 100644 --- a/source/reference/method/sh.moveChunk.txt +++ b/source/reference/method/sh.moveChunk.txt @@ -73,10 +73,11 @@ Definition .. seealso:: - :dbcommand:`moveChunk`, :method:`sh.splitAt()`, - - :method:`sh.splitFind()`, :doc:`/sharding`, and :ref:`chunk - migration `. + - :dbcommand:`moveChunk` + - :method:`sh.splitAt()` + - :method:`sh.splitFind()` + - :doc:`/sharding`, and :ref:`chunk migration + ` Example ------- diff --git a/source/reference/method/sh.removeShardFromZone.txt b/source/reference/method/sh.removeShardFromZone.txt index bbd96000614..f22ea1c43e0 100644 --- a/source/reference/method/sh.removeShardFromZone.txt +++ b/source/reference/method/sh.removeShardFromZone.txt @@ -117,6 +117,6 @@ The following example removes the association between ``shard0000`` and the .. seealso:: - :method:`sh.addShardToZone()`, - :method:`sh.updateZoneKeyRange()`, + :method:`sh.addShardToZone()` + :method:`sh.updateZoneKeyRange()` :method:`sh.removeRangeFromZone()` diff --git a/source/reference/method/sh.removeShardTag.txt b/source/reference/method/sh.removeShardTag.txt index ba71b87d380..6e8f5366a4c 100644 --- a/source/reference/method/sh.removeShardTag.txt +++ b/source/reference/method/sh.removeShardTag.txt @@ -23,7 +23,6 @@ Definition :method:`sh.removeShardTag()` when connected to a :binary:`~bin.mongos` instance. - .. list-table:: :header-rows: 1 :widths: 20 20 80 @@ -47,12 +46,8 @@ Definition - string - The name of the tag to remove from the shard. - - - - .. seealso:: - :method:`sh.addShardTag()`, + :method:`sh.addShardTag()` :method:`sh.addTagRange()` diff --git a/source/reference/method/sh.setBalancerState.txt b/source/reference/method/sh.setBalancerState.txt index 58ad5d188bf..064772c76d3 100644 --- a/source/reference/method/sh.setBalancerState.txt +++ b/source/reference/method/sh.setBalancerState.txt @@ -48,10 +48,6 @@ Description - boolean - Set this to ``true`` to enable the balancer and ``false`` to disable it. - - - - .. seealso:: diff --git a/source/reference/method/sh.shardCollection.txt b/source/reference/method/sh.shardCollection.txt index a35e0e53405..ae69cae7fba 100644 --- a/source/reference/method/sh.shardCollection.txt +++ b/source/reference/method/sh.shardCollection.txt @@ -310,9 +310,6 @@ following example uses .. seealso:: - :dbcommand:`refineCollectionShardKey` - - :method:`sh.balancerCollectionStatus()` - - :dbcommand:`shardCollection` - - :doc:`/sharding` diff --git a/source/reference/method/sh.startBalancer.txt b/source/reference/method/sh.startBalancer.txt index 68e2a92766c..341f096c9ca 100644 --- a/source/reference/method/sh.startBalancer.txt +++ b/source/reference/method/sh.startBalancer.txt @@ -80,7 +80,6 @@ wait for balancing to start. In earlier versions, the method waited for the balancing to start. - .. seealso:: - :method:`sh.enableBalancing()` diff --git a/source/reference/method/sh.updateZoneKeyRange.txt b/source/reference/method/sh.updateZoneKeyRange.txt index f904e33a64f..36bd9f4a511 100644 --- a/source/reference/method/sh.updateZoneKeyRange.txt +++ b/source/reference/method/sh.updateZoneKeyRange.txt @@ -358,5 +358,6 @@ described shard key type: .. seealso:: - :method:`sh.addShardToZone()`, :method:`sh.removeRangeFromZone()` + - :method:`sh.addShardToZone()` + - :method:`sh.removeRangeFromZone()` diff --git a/source/reference/method/sh.waitForBalancerOff.txt b/source/reference/method/sh.waitForBalancerOff.txt index 00a5e2de9fa..ae737cfc08f 100644 --- a/source/reference/method/sh.waitForBalancerOff.txt +++ b/source/reference/method/sh.waitForBalancerOff.txt @@ -41,10 +41,6 @@ Definition - integer - Milliseconds to sleep. - - - - .. seealso:: diff --git a/source/reference/mongo-shell.txt b/source/reference/mongo-shell.txt index 9c51b6fc1c0..8d40a91dbdd 100644 --- a/source/reference/mongo-shell.txt +++ b/source/reference/mongo-shell.txt @@ -102,7 +102,7 @@ displays some common help methods and commands: .. seealso:: - :ref:`4.0-compat-show-collections` + :ref:`4.0-compat-show-collections` * - ``show users`` diff --git a/source/reference/operator/aggregation/binarySize.txt b/source/reference/operator/aggregation/binarySize.txt index 773aacb8848..0453b44d4c4 100644 --- a/source/reference/operator/aggregation/binarySize.txt +++ b/source/reference/operator/aggregation/binarySize.txt @@ -227,8 +227,6 @@ Third Stage .. seealso:: - - - :pipeline:`$project` - :pipeline:`$sort` - :pipeline:`$limit` diff --git a/source/reference/operator/aggregation/bsonSize.txt b/source/reference/operator/aggregation/bsonSize.txt index b9ef2ea88c6..ff73579b54d 100644 --- a/source/reference/operator/aggregation/bsonSize.txt +++ b/source/reference/operator/aggregation/bsonSize.txt @@ -223,8 +223,6 @@ Third Stage .. seealso:: - - - :pipeline:`$project` - :pipeline:`$sort` - :pipeline:`$limit` diff --git a/source/reference/operator/aggregation/collStats.txt b/source/reference/operator/aggregation/collStats.txt index 568f07e80b9..6aa9107de92 100644 --- a/source/reference/operator/aggregation/collStats.txt +++ b/source/reference/operator/aggregation/collStats.txt @@ -424,4 +424,5 @@ The query returns a result similar to the following: .. seealso:: - :dbcommand:`collStats`, :method:`db.collection.stats()` + - :dbcommand:`collStats` + - :method:`db.collection.stats()` diff --git a/source/reference/operator/aggregation/convert.txt b/source/reference/operator/aggregation/convert.txt index b09e1d47670..a89b3b9c7c1 100644 --- a/source/reference/operator/aggregation/convert.txt +++ b/source/reference/operator/aggregation/convert.txt @@ -440,7 +440,6 @@ The following table lists some conversion to integer examples: :expression:`$toInt` operator. - .. _convert-to-decimal: Converting to a Decimal @@ -987,7 +986,8 @@ The following table lists some conversion to date examples: .. seealso:: - :expression:`$toDate` operator, :expression:`$dateFromString` + - :expression:`$toDate` operator + - :expression:`$dateFromString` .. _convert-to-objectId: @@ -1047,7 +1047,6 @@ The following table lists some conversion to date examples: :expression:`$toObjectId` operator. - .. _convert-to-string: Converting to a String @@ -1145,8 +1144,8 @@ The following table lists some conversion to string examples: .. seealso:: - :expression:`$toString` operator. :expression:`$dateToString` - + - :expression:`$toString` operator + - :expression:`$dateToString` Example ------- diff --git a/source/reference/operator/aggregation/count.txt b/source/reference/operator/aggregation/count.txt index 2ea2f3e66a6..27dc00457e0 100644 --- a/source/reference/operator/aggregation/count.txt +++ b/source/reference/operator/aggregation/count.txt @@ -57,7 +57,6 @@ You can specify another name for the output field. .. seealso:: :method:`db.collection.countDocuments()` which wraps the - :pipeline:`$group` aggregation stage with a :group:`$sum` expression. Example diff --git a/source/reference/operator/aggregation/currentOp.txt b/source/reference/operator/aggregation/currentOp.txt index ebfc8224572..8d970d4858b 100644 --- a/source/reference/operator/aggregation/currentOp.txt +++ b/source/reference/operator/aggregation/currentOp.txt @@ -899,12 +899,11 @@ relevant for the operation: operation. Each user document contains the ``user`` name and the authentication ``db``. - .. seealso:: - - :data:`$currentOp.runBy` + .. versionadded:: 4.2 + .. seealso:: - .. versionadded:: 4.2 + :data:`$currentOp.runBy` .. data:: $currentOp.runBy @@ -1280,8 +1279,7 @@ relevant for the operation: .. seealso:: - :method:`cursor.addOption()` - + :method:`cursor.addOption()` .. data:: $currentOp.cursor.tailable diff --git a/source/reference/operator/aggregation/dateFromString.txt b/source/reference/operator/aggregation/dateFromString.txt index 79672b8a4c1..da7e1d5bb92 100644 --- a/source/reference/operator/aggregation/dateFromString.txt +++ b/source/reference/operator/aggregation/dateFromString.txt @@ -118,7 +118,8 @@ Definition .. seealso:: - :expression:`$toDate` and :expression:`$convert` + - :expression:`$toDate` + - :expression:`$convert` Behavior -------- diff --git a/source/reference/operator/aggregation/dateToString.txt b/source/reference/operator/aggregation/dateToString.txt index 00660d49186..466d637543e 100644 --- a/source/reference/operator/aggregation/dateToString.txt +++ b/source/reference/operator/aggregation/dateToString.txt @@ -88,7 +88,8 @@ Definition .. seealso:: - :expression:`$toString` and :expression:`$convert` + - :expression:`$toString` + - :expression:`$convert` .. _format-specifiers: diff --git a/source/reference/operator/aggregation/group.txt b/source/reference/operator/aggregation/group.txt index 81680f8c944..fd1f79b54cb 100644 --- a/source/reference/operator/aggregation/group.txt +++ b/source/reference/operator/aggregation/group.txt @@ -157,7 +157,7 @@ This aggregation operation is equivalent to the following SQL statement: .. seealso:: - - :pipeline:`$count` + :pipeline:`$count` .. _aggregation-group-distinct-values: @@ -237,7 +237,7 @@ This aggregation operation is equivalent to the following SQL statement: .. seealso:: - - :pipeline:`$match` + :pipeline:`$match` .. _aggregation-group-count-sum-avg: @@ -361,7 +361,6 @@ This aggregation operation is equivalent to the following SQL statement: .. seealso:: - :pipeline:`$count` - - :method:`db.collection.countDocuments()` which wraps the :pipeline:`$group` aggregation stage with a :group:`$sum` expression. @@ -485,7 +484,7 @@ Second Stage: .. seealso:: - - :pipeline:`$addFields` + :pipeline:`$addFields` Additional Resources -------------------- diff --git a/source/reference/operator/aggregation/indexOfArray.txt b/source/reference/operator/aggregation/indexOfArray.txt index 8357db0bdcf..7ced19bafb2 100644 --- a/source/reference/operator/aggregation/indexOfArray.txt +++ b/source/reference/operator/aggregation/indexOfArray.txt @@ -211,4 +211,6 @@ The operation returns the following results: .. seealso:: - :expression:`$indexOfBytes`, :expression:`$indexOfCP`, and :expression:`$in` + - :expression:`$indexOfBytes` + - :expression:`$indexOfCP` + - :expression:`$in` diff --git a/source/reference/operator/aggregation/indexOfBytes.txt b/source/reference/operator/aggregation/indexOfBytes.txt index c4e22e86e91..7294cf9bc19 100644 --- a/source/reference/operator/aggregation/indexOfBytes.txt +++ b/source/reference/operator/aggregation/indexOfBytes.txt @@ -180,4 +180,5 @@ The operation returns the following results: .. seealso:: - :expression:`$indexOfCP` and :expression:`$indexOfArray` + - :expression:`$indexOfCP` + - :expression:`$indexOfArray` diff --git a/source/reference/operator/aggregation/indexOfCP.txt b/source/reference/operator/aggregation/indexOfCP.txt index 1dea93a20f4..2f799a4fd58 100644 --- a/source/reference/operator/aggregation/indexOfCP.txt +++ b/source/reference/operator/aggregation/indexOfCP.txt @@ -219,4 +219,5 @@ The operation returns the following results: .. seealso:: - :expression:`$indexOfBytes` and :expression:`$indexOfArray` + - :expression:`$indexOfBytes` + - :expression:`$indexOfArray` diff --git a/source/reference/operator/aggregation/isArray.txt b/source/reference/operator/aggregation/isArray.txt index bde6cbd912c..0286dfbf4ba 100644 --- a/source/reference/operator/aggregation/isArray.txt +++ b/source/reference/operator/aggregation/isArray.txt @@ -85,4 +85,5 @@ fields are arrays before concatenating the two: .. seealso:: - :expression:`$cond`, :expression:`$concatArrays` + - :expression:`$cond` + - :expression:`$concatArrays` diff --git a/source/reference/operator/aggregation/isNumber.txt b/source/reference/operator/aggregation/isNumber.txt index e110d7bde82..5a1ac50cfbb 100644 --- a/source/reference/operator/aggregation/isNumber.txt +++ b/source/reference/operator/aggregation/isNumber.txt @@ -47,8 +47,6 @@ Definition .. seealso:: - - - :expression:`$type (Aggregation) <$type>` - returns the BSON type of the argument. - :query:`$type (Query) <$type>` - filters fields based on BSON type. diff --git a/source/reference/operator/aggregation/limit.txt b/source/reference/operator/aggregation/limit.txt index f99e0a9d39d..f252f03f134 100644 --- a/source/reference/operator/aggregation/limit.txt +++ b/source/reference/operator/aggregation/limit.txt @@ -82,6 +82,5 @@ of the documents it passes. .. seealso:: - - :doc:`/tutorial/aggregation-zip-code-data-set`, - :doc:`/tutorial/aggregation-with-user-preference-data` + - :doc:`/tutorial/aggregation-zip-code-data-set`, + - :doc:`/tutorial/aggregation-with-user-preference-data` diff --git a/source/reference/operator/aggregation/log.txt b/source/reference/operator/aggregation/log.txt index f4a6db7aac9..9eb203181f9 100644 --- a/source/reference/operator/aggregation/log.txt +++ b/source/reference/operator/aggregation/log.txt @@ -91,4 +91,5 @@ The operation returns the following results: .. seealso:: - :expression:`$log10` and :expression:`$ln` + - :expression:`$log10` + - :expression:`$ln` diff --git a/source/reference/operator/aggregation/lookup.txt b/source/reference/operator/aggregation/lookup.txt index bfbd52fe4c4..f5a0d936fff 100644 --- a/source/reference/operator/aggregation/lookup.txt +++ b/source/reference/operator/aggregation/lookup.txt @@ -766,8 +766,6 @@ the ``warehouses`` collection: .. seealso:: - - - :query:`$expr` - :doc:`/reference/aggregation-variables/` diff --git a/source/reference/operator/aggregation/ltrim.txt b/source/reference/operator/aggregation/ltrim.txt index cb9df8fa46f..227dd55c738 100644 --- a/source/reference/operator/aggregation/ltrim.txt +++ b/source/reference/operator/aggregation/ltrim.txt @@ -61,7 +61,8 @@ Definition .. seealso:: - :expression:`$trim` and :expression:`$rtrim` + - :expression:`$trim` + - :expression:`$rtrim` Behavior -------- diff --git a/source/reference/operator/aggregation/map.txt b/source/reference/operator/aggregation/map.txt index 78855ab4862..d9173ea31b9 100644 --- a/source/reference/operator/aggregation/map.txt +++ b/source/reference/operator/aggregation/map.txt @@ -197,8 +197,6 @@ This operation returns the following results: .. seealso:: - - - :expression:`$let` - :expression:`$add` - :expression:`$multiply` diff --git a/source/reference/operator/aggregation/match.txt b/source/reference/operator/aggregation/match.txt index 067f4c8bc88..a417961759d 100644 --- a/source/reference/operator/aggregation/match.txt +++ b/source/reference/operator/aggregation/match.txt @@ -142,5 +142,6 @@ aggregation returns the following: { "_id" : null, "count" : 5 } .. seealso:: - :doc:`/tutorial/aggregation-zip-code-data-set`, - :doc:`/tutorial/aggregation-with-user-preference-data` + + - :doc:`/tutorial/aggregation-zip-code-data-set` + - :doc:`/tutorial/aggregation-with-user-preference-data` diff --git a/source/reference/operator/aggregation/merge.txt b/source/reference/operator/aggregation/merge.txt index 595657ca513..bb7bc665c22 100644 --- a/source/reference/operator/aggregation/merge.txt +++ b/source/reference/operator/aggregation/merge.txt @@ -942,8 +942,6 @@ year 2019 and adds new documents for fiscal year 2020: .. seealso:: - - :doc:`/core/materialized-views` .. _merge-mat-view-insert-only: diff --git a/source/reference/operator/aggregation/planCacheStats.txt b/source/reference/operator/aggregation/planCacheStats.txt index b97499c158d..b6573561c52 100644 --- a/source/reference/operator/aggregation/planCacheStats.txt +++ b/source/reference/operator/aggregation/planCacheStats.txt @@ -174,7 +174,7 @@ including: .. seealso:: - :ref:`cache-entry-state` + :ref:`cache-entry-state` * - :ref:`queryHash ` diff --git a/source/reference/operator/aggregation/project.txt b/source/reference/operator/aggregation/project.txt index 87685a47865..935f4ca0a9a 100644 --- a/source/reference/operator/aggregation/project.txt +++ b/source/reference/operator/aggregation/project.txt @@ -561,6 +561,5 @@ The operation returns the following document: .. seealso:: - - :doc:`/tutorial/aggregation-zip-code-data-set`, - :doc:`/tutorial/aggregation-with-user-preference-data` + - :doc:`/tutorial/aggregation-zip-code-data-set` + - :doc:`/tutorial/aggregation-with-user-preference-data` diff --git a/source/reference/operator/aggregation/rand.txt b/source/reference/operator/aggregation/rand.txt index b2c91682927..e0170cf9cd7 100644 --- a/source/reference/operator/aggregation/rand.txt +++ b/source/reference/operator/aggregation/rand.txt @@ -164,5 +164,7 @@ District 3, running the code selects about half of them. .. seealso:: - :query:`$rand (query) <$rand>`, :pipeline:`$sample`, :expression:`$round` + - :query:`$rand (query) <$rand>` + - :pipeline:`$sample` + - :expression:`$round` diff --git a/source/reference/operator/aggregation/redact.txt b/source/reference/operator/aggregation/redact.txt index 8838c193fc8..3f0fe438631 100644 --- a/source/reference/operator/aggregation/redact.txt +++ b/source/reference/operator/aggregation/redact.txt @@ -153,7 +153,8 @@ The aggregation operation returns the following "redacted" document: .. seealso:: - :expression:`$size`, :expression:`$setIntersection` + - :expression:`$size` + - :expression:`$setIntersection` Exclude All Fields at a Given Level ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/source/reference/operator/aggregation/regexFind.txt b/source/reference/operator/aggregation/regexFind.txt index 04cb0d96ad7..48ed653d176 100644 --- a/source/reference/operator/aggregation/regexFind.txt +++ b/source/reference/operator/aggregation/regexFind.txt @@ -99,7 +99,6 @@ that contains: .. seealso:: - :expression:`$regexFindAll` - - :expression:`$regexMatch` Behavior diff --git a/source/reference/operator/aggregation/regexFindAll.txt b/source/reference/operator/aggregation/regexFindAll.txt index 435433ac04c..dcf484c37c5 100644 --- a/source/reference/operator/aggregation/regexFindAll.txt +++ b/source/reference/operator/aggregation/regexFindAll.txt @@ -96,7 +96,6 @@ The operator returns an array: .. seealso:: - :expression:`$regexFind` - - :expression:`$regexMatch` Behavior diff --git a/source/reference/operator/aggregation/regexMatch.txt b/source/reference/operator/aggregation/regexMatch.txt index 7e2e67cff90..018269bdd93 100644 --- a/source/reference/operator/aggregation/regexMatch.txt +++ b/source/reference/operator/aggregation/regexMatch.txt @@ -80,7 +80,6 @@ The operator returns a boolean: .. seealso:: - :expression:`$regexFind` - - :expression:`$regexFindAll` Behavior diff --git a/source/reference/operator/aggregation/rtrim.txt b/source/reference/operator/aggregation/rtrim.txt index 0775c7611d7..847ff5b27ec 100644 --- a/source/reference/operator/aggregation/rtrim.txt +++ b/source/reference/operator/aggregation/rtrim.txt @@ -61,7 +61,8 @@ Definition .. seealso:: - :expression:`$ltrim` and :expression:`$trim` + - :expression:`$ltrim` + - :expression:`$trim` Behavior -------- diff --git a/source/reference/operator/aggregation/sampleRate.txt b/source/reference/operator/aggregation/sampleRate.txt index 4f07e6650e3..31eda1277fa 100644 --- a/source/reference/operator/aggregation/sampleRate.txt +++ b/source/reference/operator/aggregation/sampleRate.txt @@ -100,5 +100,6 @@ This is the output from 5 runs on the sample collection: .. seealso:: - :pipeline:`$sample`, :query:`$rand`. + - :pipeline:`$sample` + - :query:`$rand` diff --git a/source/reference/operator/aggregation/skip.txt b/source/reference/operator/aggregation/skip.txt index 9975ae69594..63e937ec683 100644 --- a/source/reference/operator/aggregation/skip.txt +++ b/source/reference/operator/aggregation/skip.txt @@ -78,5 +78,6 @@ pipeline. :pipeline:`$skip` has no effect on the content of the documents it passes along the pipeline. .. seealso:: - :doc:`/tutorial/aggregation-zip-code-data-set`, - :doc:`/tutorial/aggregation-with-user-preference-data` + + - :doc:`/tutorial/aggregation-zip-code-data-set` + - :doc:`/tutorial/aggregation-with-user-preference-data` diff --git a/source/reference/operator/aggregation/sort.txt b/source/reference/operator/aggregation/sort.txt index 3d2521d8020..ed6c63124d9 100644 --- a/source/reference/operator/aggregation/sort.txt +++ b/source/reference/operator/aggregation/sort.txt @@ -222,6 +222,5 @@ is not preceded by a :pipeline:`$project`, :pipeline:`$unwind`, or .. seealso:: - - :doc:`/tutorial/aggregation-zip-code-data-set`, - :doc:`/tutorial/aggregation-with-user-preference-data` + - :doc:`/tutorial/aggregation-zip-code-data-set` + - :doc:`/tutorial/aggregation-with-user-preference-data` diff --git a/source/reference/operator/aggregation/sortByCount.txt b/source/reference/operator/aggregation/sortByCount.txt index d3ddf267a90..51de2a661a5 100644 --- a/source/reference/operator/aggregation/sortByCount.txt +++ b/source/reference/operator/aggregation/sortByCount.txt @@ -76,7 +76,7 @@ Definition .. seealso:: - :doc:`/reference/bson-type-comparison-order/` + :doc:`/reference/bson-type-comparison-order/` Behavior -------- diff --git a/source/reference/operator/aggregation/toBool.txt b/source/reference/operator/aggregation/toBool.txt index 5c9d993a180..dfb43232ae5 100644 --- a/source/reference/operator/aggregation/toBool.txt +++ b/source/reference/operator/aggregation/toBool.txt @@ -45,7 +45,7 @@ Definition .. seealso:: - :expression:`$convert` + :expression:`$convert` Behavior diff --git a/source/reference/operator/aggregation/toDate.txt b/source/reference/operator/aggregation/toDate.txt index 8edcf9ad29d..6103d5e0aa4 100644 --- a/source/reference/operator/aggregation/toDate.txt +++ b/source/reference/operator/aggregation/toDate.txt @@ -45,8 +45,8 @@ Definition .. seealso:: - :expression:`$convert` and :expression:`$dateFromString` - + - :expression:`$convert` + - :expression:`$dateFromString` Behavior -------- diff --git a/source/reference/operator/aggregation/toDecimal.txt b/source/reference/operator/aggregation/toDecimal.txt index 36ff6a30b9b..652afd2d62e 100644 --- a/source/reference/operator/aggregation/toDecimal.txt +++ b/source/reference/operator/aggregation/toDecimal.txt @@ -46,7 +46,7 @@ Definition .. seealso:: - :expression:`$convert` + :expression:`$convert` Behavior -------- diff --git a/source/reference/operator/aggregation/toInt.txt b/source/reference/operator/aggregation/toInt.txt index a20683213b9..0a263ca81af 100644 --- a/source/reference/operator/aggregation/toInt.txt +++ b/source/reference/operator/aggregation/toInt.txt @@ -45,8 +45,7 @@ Definition .. seealso:: - :expression:`$convert` - + :expression:`$convert` Behavior -------- diff --git a/source/reference/operator/aggregation/toLong.txt b/source/reference/operator/aggregation/toLong.txt index e8eabe0767c..13510826ced 100644 --- a/source/reference/operator/aggregation/toLong.txt +++ b/source/reference/operator/aggregation/toLong.txt @@ -45,8 +45,7 @@ Definition .. seealso:: - :expression:`$convert` - + :expression:`$convert` Behavior -------- diff --git a/source/reference/operator/aggregation/toObjectId.txt b/source/reference/operator/aggregation/toObjectId.txt index a363fd5ca69..4cd2d548735 100644 --- a/source/reference/operator/aggregation/toObjectId.txt +++ b/source/reference/operator/aggregation/toObjectId.txt @@ -45,8 +45,7 @@ Definition .. seealso:: - :expression:`$convert` - + :expression:`$convert` Behavior -------- diff --git a/source/reference/operator/aggregation/toString.txt b/source/reference/operator/aggregation/toString.txt index 9737e555ddb..1450b8fa179 100644 --- a/source/reference/operator/aggregation/toString.txt +++ b/source/reference/operator/aggregation/toString.txt @@ -41,8 +41,8 @@ Definition .. seealso:: - :expression:`$convert` and :expression:`$dateToString` - + - :expression:`$convert` + - :expression:`$dateToString` Behavior -------- diff --git a/source/reference/operator/aggregation/trim.txt b/source/reference/operator/aggregation/trim.txt index 9e75fd884fb..9e5933f88a1 100644 --- a/source/reference/operator/aggregation/trim.txt +++ b/source/reference/operator/aggregation/trim.txt @@ -60,7 +60,8 @@ Definition .. seealso:: - :expression:`$ltrim` and :expression:`$rtrim` + - :expression:`$ltrim` + - :expression:`$rtrim` Behavior -------- diff --git a/source/reference/operator/aggregation/type.txt b/source/reference/operator/aggregation/type.txt index 3426045599f..f01a2e3dfe6 100644 --- a/source/reference/operator/aggregation/type.txt +++ b/source/reference/operator/aggregation/type.txt @@ -32,8 +32,6 @@ Definition .. seealso:: - - - :expression:`$isNumber` - checks if the argument is a number. *New in MongoDB 4.4* - :query:`$type (Query) <$type>` - filters fields based on BSON type. diff --git a/source/reference/operator/meta/explain.txt b/source/reference/operator/meta/explain.txt index f184793ca22..dea5e74d8b1 100644 --- a/source/reference/operator/meta/explain.txt +++ b/source/reference/operator/meta/explain.txt @@ -55,11 +55,8 @@ these queries. .. seealso:: - :method:`~cursor.explain()` - - - :doc:`/administration/analyzing-mongodb-performance` page for information - regarding optimization strategies. - + - :doc:`/administration/analyzing-mongodb-performance` page for + information regarding optimization strategies. - :doc:`/tutorial/manage-the-database-profiler` tutorial for information regarding the database profile. - - :doc:`Current Operation Reporting ` diff --git a/source/reference/operator/meta/query.txt b/source/reference/operator/meta/query.txt index ec9e95b2f78..43d98cd0434 100644 --- a/source/reference/operator/meta/query.txt +++ b/source/reference/operator/meta/query.txt @@ -51,7 +51,7 @@ Definition .. seealso:: - For more information about queries in MongoDB see + For more information about queries in MongoDB see :doc:`/tutorial/query-documents`, :method:`db.collection.find()`, and `Getting Started with MongoDB `_. diff --git a/source/reference/operator/query/and.txt b/source/reference/operator/query/and.txt index 2024a73956e..fd5e99dae4b 100644 --- a/source/reference/operator/query/and.txt +++ b/source/reference/operator/query/and.txt @@ -78,5 +78,8 @@ because it uses the :query:`$or` operator more than once. .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, - :query:`$ne`, :query:`$exists`, :update:`$set`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :query:`$ne` + - :query:`$exists` + - :update:`$set` diff --git a/source/reference/operator/query/eq.txt b/source/reference/operator/query/eq.txt index 2f66d3c39b7..fd0e52e70f5 100644 --- a/source/reference/operator/query/eq.txt +++ b/source/reference/operator/query/eq.txt @@ -164,7 +164,8 @@ Both queries match the following documents: .. seealso:: - :query:`$elemMatch`, :ref:`Query Arrays ` + - :query:`$elemMatch` + - :ref:`Query Arrays ` .. [#match-string-value] The query will also match documents where the value of the ``tags`` field is the string ``"B"``. diff --git a/source/reference/operator/query/exists.txt b/source/reference/operator/query/exists.txt index cd24733c62d..829da4bb218 100644 --- a/source/reference/operator/query/exists.txt +++ b/source/reference/operator/query/exists.txt @@ -28,8 +28,9 @@ Definition .. seealso:: - :query:`$nin`, :query:`$in`, and - :ref:`faq-developers-query-for-nulls`. + - :query:`$nin` + - :query:`$in` + - :ref:`faq-developers-query-for-nulls` .. [#type0] diff --git a/source/reference/operator/query/gt.txt b/source/reference/operator/query/gt.txt index 6d9b3956501..caa6158b426 100644 --- a/source/reference/operator/query/gt.txt +++ b/source/reference/operator/query/gt.txt @@ -54,4 +54,6 @@ $gt .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, :update:`$set`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :update:`$set` diff --git a/source/reference/operator/query/gte.txt b/source/reference/operator/query/gte.txt index f51d3a07527..af3007e09c6 100644 --- a/source/reference/operator/query/gte.txt +++ b/source/reference/operator/query/gte.txt @@ -43,4 +43,6 @@ $gte .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, :update:`$set`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :update:`$set` diff --git a/source/reference/operator/query/in.txt b/source/reference/operator/query/in.txt index 456e60b588e..84bc831d245 100644 --- a/source/reference/operator/query/in.txt +++ b/source/reference/operator/query/in.txt @@ -98,4 +98,8 @@ the ``tags`` field holds either a string that starts with ``be`` or .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, :query:`$or`, :update:`$set`, :query:`$elemMatch`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :query:`$or` + - :update:`$set` + - :query:`$elemMatch` diff --git a/source/reference/operator/query/lt.txt b/source/reference/operator/query/lt.txt index b8f95a9321b..b695760c648 100644 --- a/source/reference/operator/query/lt.txt +++ b/source/reference/operator/query/lt.txt @@ -42,4 +42,6 @@ $lt .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, :update:`$set`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :update:`$set` diff --git a/source/reference/operator/query/lte.txt b/source/reference/operator/query/lte.txt index f82025a57c6..105caf6d267 100644 --- a/source/reference/operator/query/lte.txt +++ b/source/reference/operator/query/lte.txt @@ -43,4 +43,6 @@ $lte .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, :update:`$set`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :update:`$set` diff --git a/source/reference/operator/query/ne.txt b/source/reference/operator/query/ne.txt index e991faf3ad6..67b485766b5 100644 --- a/source/reference/operator/query/ne.txt +++ b/source/reference/operator/query/ne.txt @@ -47,4 +47,6 @@ $ne .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, :update:`$set`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :update:`$set` diff --git a/source/reference/operator/query/nearSphere.txt b/source/reference/operator/query/nearSphere.txt index 29e83d315eb..c5915f759ad 100644 --- a/source/reference/operator/query/nearSphere.txt +++ b/source/reference/operator/query/nearSphere.txt @@ -77,8 +77,7 @@ Definition .. seealso:: - :ref:`3.0-geo-near-compatibility` - + :ref:`3.0-geo-near-compatibility` Behavior -------- diff --git a/source/reference/operator/query/nin.txt b/source/reference/operator/query/nin.txt index 43262900160..db64c5d7ab5 100644 --- a/source/reference/operator/query/nin.txt +++ b/source/reference/operator/query/nin.txt @@ -53,4 +53,6 @@ $nin .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, :update:`$set`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :update:`$set` diff --git a/source/reference/operator/query/nor.txt b/source/reference/operator/query/nor.txt index f98cdecbe74..3ecc6e8a44c 100644 --- a/source/reference/operator/query/nor.txt +++ b/source/reference/operator/query/nor.txt @@ -23,8 +23,11 @@ $nor .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, - :query:`$or`, :update:`$set`, and :query:`$exists`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :query:`$or` + - :update:`$set` + - :query:`$exists` Examples -------- diff --git a/source/reference/operator/query/not.txt b/source/reference/operator/query/not.txt index 5d86f33ffad..4812481f63a 100644 --- a/source/reference/operator/query/not.txt +++ b/source/reference/operator/query/not.txt @@ -78,7 +78,7 @@ data types like arrays. - driver language's regular expression objects - For example, the following PyMongo query uses Python's + For example, the following :api:`PyMongo ` query uses Python's ``re.compile()`` method to compile a regular expression: @@ -90,6 +90,8 @@ data types like arrays. .. seealso:: - :method:`~db.collection.find()`, :method:`~db.collection.update()`, :update:`$set`, :query:`$gt`, - :query:`$regex`, :api:`PyMongo `, - :term:`driver`. + - :method:`~db.collection.find()` + - :method:`~db.collection.update()` + - :update:`$set` + - :query:`$gt` + - :query:`$regex` diff --git a/source/reference/operator/query/or.txt b/source/reference/operator/query/or.txt index 885c1e2032e..1e170d899eb 100644 --- a/source/reference/operator/query/or.txt +++ b/source/reference/operator/query/or.txt @@ -114,6 +114,7 @@ You may nest :query:`$or` operations. .. seealso:: - :query:`$and`, :method:`~db.collection.find()`, - - :method:`~cursor.sort()`, :query:`$in` + - :query:`$and` + - :method:`~db.collection.find()` + - :method:`~cursor.sort()` + - :query:`$in` diff --git a/source/reference/operator/query/text.txt b/source/reference/operator/query/text.txt index 95fa4cbfdbd..8d128f33560 100644 --- a/source/reference/operator/query/text.txt +++ b/source/reference/operator/query/text.txt @@ -303,6 +303,7 @@ matches on the exact word. Specifying ``$caseSensitive: true`` may impact performance. .. seealso:: + :ref:`match-operation-stemmed-words` .. _text-operator-diacritic-sensitivity: @@ -357,6 +358,7 @@ diacritic mark or marks, the :query:`$text` operator matches on the exact word. .. seealso:: + :ref:`match-operation-stemmed-words` .. _text-operator-text-score: @@ -416,8 +418,9 @@ the word: { "_id" : 1, "subject" : "coffee", "author" : "xyz", "views" : 50 } .. seealso:: - :ref:`text-operator-case-sensitivity`, - :ref:`match-operation-stemmed-words` + + - :ref:`text-operator-case-sensitivity` + - :ref:`match-operation-stemmed-words` Match Any of the Search Terms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -446,8 +449,9 @@ precisely, the stemmed version of these words: { "_id" : 4, "subject" : "baking", "author" : "xyz", "views" : 100 } .. seealso:: - :ref:`text-operator-case-sensitivity`, - :ref:`match-operation-stemmed-words` + + - :ref:`text-operator-case-sensitivity` + - :ref:`match-operation-stemmed-words` Search for a Phrase ~~~~~~~~~~~~~~~~~~~ @@ -493,8 +497,9 @@ The query returns the following documents: { "_id" : 1, "subject" : "coffee", "author" : "xyz", "views" : 50 } .. seealso:: - :ref:`text-operator-term-negation`, - :ref:`match-operation-stemmed-words` + + - :ref:`text-operator-term-negation` + - :ref:`match-operation-stemmed-words` Search a Different Language ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -562,10 +567,11 @@ With the previous versions of the ``text`` index, the query would not match any document. .. seealso:: - :ref:`text-operator-case-sensitivity`, - :ref:`text-operator-diacritic-sensitivity`, - :ref:`match-operation-stemmed-words`, - :doc:`/core/index-text` + + - :ref:`text-operator-case-sensitivity` + - :ref:`text-operator-diacritic-sensitivity` + - :ref:`match-operation-stemmed-words` + - :doc:`/core/index-text` .. _text-operator-case-sensitive-search: @@ -594,8 +600,9 @@ The search matches just the document: { "_id" : 2, "subject" : "Coffee Shopping", "author" : "efg", "views" : 5 } .. seealso:: - :ref:`text-operator-case-sensitivity`, - :ref:`case-sensitivity-and-stemming` + + - :ref:`text-operator-case-sensitivity` + - :ref:`case-sensitivity-and-stemming` Case Sensitive Search for a Phrase `````````````````````````````````` @@ -616,8 +623,9 @@ The search matches just the document: { "_id" : 5, "subject" : "Café Con Leche", "author" : "abc", "views" : 200 } .. seealso:: - :ref:`case-sensitivity-and-stemming`, - :ref:`text-operator-case-sensitivity` + + - :ref:`case-sensitivity-and-stemming` + - :ref:`text-operator-case-sensitivity` Case Sensitivity with Negated Term `````````````````````````````````` @@ -642,8 +650,9 @@ The query matches the following document: { "_id" : 2, "subject" : "Coffee Shopping", "author" : "efg" } .. seealso:: - :ref:`case-sensitivity-and-stemming`, - :ref:`text-operator-term-negation` + + - :ref:`case-sensitivity-and-stemming` + - :ref:`text-operator-term-negation` Diacritic Sensitive Search ~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -671,9 +680,10 @@ The query only matches the following document: { "_id" : 5, "subject" : "Café Con Leche", "author" : "abc" } .. seealso:: - :ref:`diacritic-sensitivity-and-stemming`, - :ref:`text-operator-diacritic-sensitivity`, - :ref:`text-operator-case-sensitivity` + + - :ref:`diacritic-sensitivity-and-stemming` + - :ref:`text-operator-diacritic-sensitivity` + - :ref:`text-operator-case-sensitivity` Diacritic Sensitivity with Negated Term @@ -701,9 +711,10 @@ The query matches the following document: { "_id" : 8, "subject" : "Cafe con Leche", "author" : "xyz" } .. seealso:: - :ref:`diacritic-sensitivity-and-stemming`, - :ref:`text-operator-diacritic-sensitivity`, - :ref:`text-operator-case-sensitivity` + + - :ref:`diacritic-sensitivity-and-stemming` + - :ref:`text-operator-diacritic-sensitivity` + - :ref:`text-operator-case-sensitivity` .. _ex-text-search-score: diff --git a/source/reference/operator/query/type.txt b/source/reference/operator/query/type.txt index 8bdab8a3b26..0875d5aaf49 100644 --- a/source/reference/operator/query/type.txt +++ b/source/reference/operator/query/type.txt @@ -50,10 +50,10 @@ Definition .. seealso:: - - - - :expression:`$isNumber` - checks if the argument is a number. *New in MongoDB 4.4* - - :expression:`$type (Aggregation) <$type>` - returns the BSON type of the argument. + - :expression:`$isNumber` - checks if the argument is a number. + *New in MongoDB 4.4* + - :expression:`$type (Aggregation) <$type>` - returns the BSON type + of the argument. Behavior -------- diff --git a/source/reference/operator/update/addToSet.txt b/source/reference/operator/update/addToSet.txt index 3377b648ab0..3a8baba5164 100644 --- a/source/reference/operator/update/addToSet.txt +++ b/source/reference/operator/update/addToSet.txt @@ -161,7 +161,7 @@ field. .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()`, :update:`$push`, - :update:`$pull` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` + - :update:`$push` + - :update:`$pull` diff --git a/source/reference/operator/update/bit.txt b/source/reference/operator/update/bit.txt index 3b9542e98ca..a56a542c310 100644 --- a/source/reference/operator/update/bit.txt +++ b/source/reference/operator/update/bit.txt @@ -159,6 +159,5 @@ And the updated document has the following value for ``expdata``: .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/currentDate.txt b/source/reference/operator/update/currentDate.txt index 0155d12bd2d..8666b386598 100644 --- a/source/reference/operator/update/currentDate.txt +++ b/source/reference/operator/update/currentDate.txt @@ -156,10 +156,8 @@ The query should return the following document: .. seealso:: - - - - :method:`db.collection.updateOne()`, - - :method:`db.collection.updateMany()`, - - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()`, + - :method:`db.collection.updateOne()` + - :method:`db.collection.updateMany()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` - :method:`db.collection.findOneAndUpdate()` diff --git a/source/reference/operator/update/inc.txt b/source/reference/operator/update/inc.txt index 4c426cee03a..0c50298008e 100644 --- a/source/reference/operator/update/inc.txt +++ b/source/reference/operator/update/inc.txt @@ -84,6 +84,5 @@ The updated document would resemble: .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/max.txt b/source/reference/operator/update/max.txt index 5a5befc3ac4..ce79fc44727 100644 --- a/source/reference/operator/update/max.txt +++ b/source/reference/operator/update/max.txt @@ -118,6 +118,5 @@ The operation does *not* update the ``dateExpired`` field: .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/min.txt b/source/reference/operator/update/min.txt index 48823174acd..03eb39233cd 100644 --- a/source/reference/operator/update/min.txt +++ b/source/reference/operator/update/min.txt @@ -119,6 +119,5 @@ The operation updates the ``dateEntered`` field: .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/mul.txt b/source/reference/operator/update/mul.txt index 3f2d43c2c2d..057654d751b 100644 --- a/source/reference/operator/update/mul.txt +++ b/source/reference/operator/update/mul.txt @@ -177,6 +177,5 @@ The value in the ``price`` field is of type :ref:`shell-type-long`. See .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/pop.txt b/source/reference/operator/update/pop.txt index afac9d004d7..8b568b119c8 100644 --- a/source/reference/operator/update/pop.txt +++ b/source/reference/operator/update/pop.txt @@ -89,6 +89,5 @@ removed from its ``scores`` array: .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/positional-all.txt b/source/reference/operator/update/positional-all.txt index 2d7152fb949..214f1b138c0 100644 --- a/source/reference/operator/update/positional-all.txt +++ b/source/reference/operator/update/positional-all.txt @@ -280,14 +280,9 @@ nested ``grades.questions`` array, regardless of ``type``: .. seealso:: - - - - :update:`$[\]`, - - - :method:`db.collection.update()`, - - - :method:`db.collection.findAndModify()`, - + - :update:`$[\]` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` - :query:`$elemMatch` .. |arrow| unicode:: U+27A4 diff --git a/source/reference/operator/update/positional-filtered.txt b/source/reference/operator/update/positional-filtered.txt index b65556a1567..d76f4c3440f 100644 --- a/source/reference/operator/update/positional-filtered.txt +++ b/source/reference/operator/update/positional-filtered.txt @@ -448,14 +448,9 @@ nested ``grades.questions`` array, regardless of ``type``: .. seealso:: - - - :update:`$[]` - - - :method:`db.collection.update()`, - - - :method:`db.collection.findAndModify()`, - + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` - :query:`$elemMatch` .. |arrow| unicode:: U+27A4 diff --git a/source/reference/operator/update/pull.txt b/source/reference/operator/update/pull.txt index e5e0e70fdb6..e3cf66f62be 100644 --- a/source/reference/operator/update/pull.txt +++ b/source/reference/operator/update/pull.txt @@ -238,6 +238,5 @@ with ``q`` equal to ``2`` and ``a`` greater than or equal to ``8``: .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/pullAll.txt b/source/reference/operator/update/pullAll.txt index 845068bf122..f0c1f2478e0 100644 --- a/source/reference/operator/update/pullAll.txt +++ b/source/reference/operator/update/pullAll.txt @@ -62,6 +62,5 @@ and ``5`` removed from the ``scores`` field: .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/push.txt b/source/reference/operator/update/push.txt index 2cfe81315e5..a7440b74756 100644 --- a/source/reference/operator/update/push.txt +++ b/source/reference/operator/update/push.txt @@ -126,6 +126,5 @@ Use ``$push`` Operator with Multiple Modifiers .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/rename.txt b/source/reference/operator/update/rename.txt index fdbf62036ec..587aadaa037 100644 --- a/source/reference/operator/update/rename.txt +++ b/source/reference/operator/update/rename.txt @@ -164,6 +164,5 @@ This operation does nothing because there is no field named .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/set.txt b/source/reference/operator/update/set.txt index 554d335074a..2c1e926b7c1 100644 --- a/source/reference/operator/update/set.txt +++ b/source/reference/operator/update/set.txt @@ -135,6 +135,5 @@ For additional update operators for arrays, see .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/setOnInsert.txt b/source/reference/operator/update/setOnInsert.txt index cee0f168821..221468c509b 100644 --- a/source/reference/operator/update/setOnInsert.txt +++ b/source/reference/operator/update/setOnInsert.txt @@ -76,6 +76,5 @@ the :update:`$setOnInsert` operation. .. seealso:: - :method:`db.collection.update()`, - - :method:`db.collection.findAndModify()` + - :method:`db.collection.update()` + - :method:`db.collection.findAndModify()` diff --git a/source/reference/operator/update/unset.txt b/source/reference/operator/update/unset.txt index 02602b6a641..c3a123760bf 100644 --- a/source/reference/operator/update/unset.txt +++ b/source/reference/operator/update/unset.txt @@ -63,6 +63,5 @@ where the field ``sku`` has a value of ``unknown``. .. seealso:: - :method:`db.collection.update()`, - + :method:`db.collection.update()` :method:`db.collection.findAndModify()` diff --git a/source/reference/privilege-actions.txt b/source/reference/privilege-actions.txt index 508969b5a2c..b0aade38223 100644 --- a/source/reference/privilege-actions.txt +++ b/source/reference/privilege-actions.txt @@ -725,7 +725,7 @@ Session Actions .. seealso:: - :authaction:`impersonate` + :authaction:`impersonate` Free Monitoring Actions ----------------------- diff --git a/source/reference/program/mongo.txt b/source/reference/program/mongo.txt index 10bd2280b9d..ae18a11c8d5 100644 --- a/source/reference/program/mongo.txt +++ b/source/reference/program/mongo.txt @@ -1419,11 +1419,8 @@ to enclose the JavaScript, using the following form: .. seealso:: - :doc:`/reference/mongo-shell` - - :doc:`/reference/method` - - :doc:`/mongo` - - :method:`isInteractive()` diff --git a/source/reference/replica-configuration.txt b/source/reference/replica-configuration.txt index 0883aae4dd4..e2210245549 100644 --- a/source/reference/replica-configuration.txt +++ b/source/reference/replica-configuration.txt @@ -110,8 +110,7 @@ Replica Set Configuration Fields .. seealso:: - :ref:`3.2-rel-notes-sharded-cluster` - + :ref:`3.2-rel-notes-sharded-cluster` .. rsconf:: protocolVersion @@ -127,7 +126,7 @@ Replica Set Configuration Fields .. seealso:: - :doc:`/reference/replica-set-protocol-versions` + :doc:`/reference/replica-set-protocol-versions` .. rsconf:: writeConcernMajorityJournalDefault @@ -181,7 +180,8 @@ Replica Set Configuration Fields .. seealso:: - :ref:`wc-ack-behavior`, :doc:`/reference/replica-set-protocol-versions` + - :ref:`wc-ack-behavior` + - :doc:`/reference/replica-set-protocol-versions` ``members`` ~~~~~~~~~~~ @@ -328,6 +328,7 @@ Replica Set Configuration Fields greater than ``0``). .. seealso:: + :ref:`Hidden Replica Set Members ` .. rsconf:: members[n].priority @@ -367,6 +368,7 @@ Replica Set Configuration Fields :rsconf:`~members[n].votes` is greater than ``0``). .. seealso:: + :ref:`Replica Set Elections `. .. rsconf:: members[n].tags @@ -404,6 +406,7 @@ Replica Set Configuration Fields ``0``). .. seealso:: + :doc:`/core/replica-set-delayed-member` .. rsconf:: members[n].votes @@ -439,7 +442,6 @@ Replica Set Configuration Fields .. seealso:: - :data:`replSetGetStatus.votingMembersCount` - - :data:`replSetGetStatus.writableVotingMembersCount` ``settings`` @@ -473,7 +475,7 @@ Replica Set Configuration Fields .. seealso:: - :doc:`/tutorial/manage-chained-replication` + :doc:`/tutorial/manage-chained-replication` .. rsconf:: settings.getLastErrorDefaults diff --git a/source/reference/system-users-collection.txt b/source/reference/system-users-collection.txt index 5f36c9abcef..24db8266f2f 100644 --- a/source/reference/system-users-collection.txt +++ b/source/reference/system-users-collection.txt @@ -80,10 +80,7 @@ Each ``system.users`` document has the following fields: .. seealso:: - - - :parameter:`scramSHA256IterationCount` - - :parameter:`scramIterationCount` .. data:: admin.system.users.roles diff --git a/source/reference/write-concern.txt b/source/reference/write-concern.txt index 17fc081f4a7..6f02bd69412 100644 --- a/source/reference/write-concern.txt +++ b/source/reference/write-concern.txt @@ -175,10 +175,7 @@ available: .. seealso:: - - - :doc:`/reference/mongodb-defaults` - - :doc:`/reference/replica-set-protocol-versions` .. _wc-j: diff --git a/source/release-notes/2.6-compatibility.txt b/source/release-notes/2.6-compatibility.txt index 09cef3eb95e..8e3992d2dac 100644 --- a/source/release-notes/2.6-compatibility.txt +++ b/source/release-notes/2.6-compatibility.txt @@ -234,11 +234,12 @@ Solution the result of the operation. .. seealso:: - :ref:`rel-notes-write-operations`, - :method:`Bulk()`, - :method:`Bulk.execute()`, - :method:`db.collection.initializeUnorderedBulkOp()`, - :method:`db.collection.initializeOrderedBulkOp()` + + - :ref:`rel-notes-write-operations` + - :method:`Bulk()` + - :method:`Bulk.execute()` + - :method:`db.collection.initializeUnorderedBulkOp()` + - :method:`db.collection.initializeOrderedBulkOp()` ``db.collection.aggregate()`` Change ------------------------------------ @@ -291,9 +292,8 @@ Solution .. seealso:: - :ref:`rn-2.6-aggregation-cursor`, - - :method:`db.collection.aggregate()`, + - :ref:`rn-2.6-aggregation-cursor` + - :method:`db.collection.aggregate()` Write Concern Validation ------------------------ diff --git a/source/release-notes/2.6.txt b/source/release-notes/2.6.txt index 4806d9adc48..f5e795d3a75 100644 --- a/source/release-notes/2.6.txt +++ b/source/release-notes/2.6.txt @@ -411,9 +411,9 @@ Specifically these changes include: .. seealso:: - :ref:`authentication-incompatibility`, - :ref:`ssl-hostname-validation`, - and :doc:`/administration/security-checklist`. + - :ref:`authentication-incompatibility` + - :ref:`ssl-hostname-validation` + - :doc:`/administration/security-checklist` Query Engine Improvements ------------------------- @@ -447,10 +447,11 @@ Geospatial Enhancements - Support for geospatial query clauses in :query:`$or` expressions. .. seealso:: - :ref:`2.6-2dsphere-version-incompatibility`, - :ref:`2.6-geo-maxDistance-incompatibility`, - :ref:`2.6-uniqueDocs-incompatibility`, - :ref:`2.6-geospatial-validation-incompatibility` + + - :ref:`2.6-2dsphere-version-incompatibility`, + - :ref:`2.6-geo-maxDistance-incompatibility`, + - :ref:`2.6-uniqueDocs-incompatibility`, + - :ref:`2.6-geospatial-validation-incompatibility` Index Build Enhancements ~~~~~~~~~~~~~~~~~~~~~~~~ @@ -662,6 +663,7 @@ See :doc:`/release-notes/2.6-compatibility` for a detailed list of compatibility changes. .. seealso:: + `All Backwards incompatible changes (JIRA) `_. Upgrade Process diff --git a/source/release-notes/3.0-compatibility.txt b/source/release-notes/3.0-compatibility.txt index 00b7938f1c2..383bbe66386 100644 --- a/source/release-notes/3.0-compatibility.txt +++ b/source/release-notes/3.0-compatibility.txt @@ -71,6 +71,7 @@ data files created by a storage engine other than the one specified by ``--storageEngine``. .. seealso:: + Change Storage Engine to WiredTiger sections in :doc:`/release-notes/3.0-upgrade` diff --git a/source/tutorial/getting-started.txt b/source/tutorial/getting-started.txt index 8181d443f27..6caf5d46753 100644 --- a/source/tutorial/getting-started.txt +++ b/source/tutorial/getting-started.txt @@ -23,8 +23,11 @@ examples in the shell above. .. tabs:: - .. tab:: 0. Switch Database - :tabid: example-0 + .. tab:: Step 1 + :tabid: example-1 + + Switch Database + ~~~~~~~~~~~~~~~ Within the :ref:`shell `, ``db`` refers to your current database. Type ``db`` to display the current @@ -57,8 +60,11 @@ examples in the shell above. To create a collection in the database, see the next tab. - .. tab:: 1. Populate a collection (Insert) - :tabid: example-1 + .. tab:: Step 2 + :tabid: example-2 + + Populate a Collection (Insert) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MongoDB stores documents in :doc:`collections `. Collections are analogous to @@ -91,9 +97,12 @@ examples in the shell above. To verify the insert, you can query the collection (See the next tab). - .. tab:: 2. Select All Documents - :tabid: example-2 - + .. tab:: Step 3 + :tabid: example-3 + + Select All Documents + ~~~~~~~~~~~~~~~~~~~~ + To select the documents from a collection, you can use the :method:`db.collection.find()` method. To select all documents in the collection, pass an empty document as the :ref:`query @@ -119,8 +128,11 @@ examples in the shell above. The example assumes that you have populated the ``inventory`` collection from the previous step. - .. tab:: 3. Specify Equality Matches - :tabid: example-3 + .. tab:: Step 4 + :tabid: example-4 + + Specify Equality Matches + ~~~~~~~~~~~~~~~~~~~~~~~~ For an equality match (i.e. ```` equals ````), specify ``: `` in the :ref:`query filter @@ -195,8 +207,11 @@ examples in the shell above. db.inventory.find( { tags: [ "red", "blank" ] } ) - .. tab:: 4. Specify Fields to Return (Projection) - :tabid: example-4 + .. tab:: Step 5 + :tabid: example-5 + + Specify Fields to Return (Projection) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To specify fields to return, pass a projection document to the :method:`db.collection.find(\, \