Skip to content

Commit e51f56d

Browse files
committed
fix problems
(cherry picked from commit ae06ef9)
1 parent 58ae7c7 commit e51f56d

40 files changed

+56
-1913
lines changed

source/builders/indexes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ following types of indexes:
2727
- :ref:`Hashed Indexes <index-hashed-indexes>`
2828
- :ref:`Geospatial Indexes <index-geospatial-indexes>`
2929

30-
Indexes store a subset of the collections data set. The index stores
30+
Indexes store a subset of the collection's data set. The index stores
3131
the value of a specific field or set of fields, ordered by the value of
32-
the field. See our guide on :doc:`Indexes </fundamentals/indexes>` for
32+
the field. See the :ref:`java-fundamentals-indexes` to view
3333
examples of queries covered by indexes.
3434

3535
The ``Indexes`` class provides static factory methods for all the MongoDB index types.

source/command.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ following:
5050

5151
dbStats: {"db": "sample_mflix", "collections": 5, "views": 0, "objects": 75595, "avgObjSize": 692.1003770090614, "dataSize": 52319328, "storageSize": 29831168, "numExtents": 0, "indexes": 9, "indexSize": 14430208, "fileSize": 0, "nsSizeMB": 0, "ok": 1}
5252

53-
.. include:: /includes/legacy-redirect.rst
54-
5553
For additional information on the classes and methods mentioned on this
5654
page, see the following resources:
5755

source/connection/connect.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Use the ``MongoClients.create()`` method to construct a ``MongoClient``.
3434
As each ``MongoClient`` represents a thread-safe pool of connections to the
3535
database, most applications only require a single instance of a
3636
``MongoClient``, even across multiple threads.
37+
3738
All resource usage limits, such as max connections, apply to individual
3839
``MongoClient`` instances.
3940

source/connection/connection-troubleshooting.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ Connection Troubleshooting
5353

5454
.. _java-connection-firewall:
5555

56+
.. replacement:: connection-pools-learn-more
57+
58+
.. tip::
59+
60+
To learn more about connection pools, see
61+
:ref:`mcs-connectionpool-settings` in the Specify MongoClient
62+
Settings guide.
63+
5664
.. replacement:: authentication-error-anchor
5765

5866
.. _java-authentication-error:

source/crud/collations.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ order as shown below:
7171
How to Specify Collations
7272
-------------------------
7373

74-
MongoDB supports collations on most :doc:`CRUD operations </fundamentals/crud>`
74+
MongoDB supports collations on most :ref:`CRUD operations <java-crud-operations>`
7575
and aggregations. For a complete list of supported operations, see the
7676
:manual:`Operations that Support Collations </reference/collation/#operations-that-support-collation>`
7777
server manual page.

source/crud/read-operations/geo.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Examples
229229

230230
The following examples use the MongoDB Atlas sample dataset. You can learn how
231231
to set up your own free-tier Atlas cluster and how to load the sample dataset
232-
in our :doc:`quick start guide </quick-start>`.
232+
in :ref:`java-sync-quickstart` tutorial.
233233

234234
The examples use the ``theaters`` collection in the ``sample_mflix`` database
235235
from the sample dataset. The ``theaters`` collection contains a ``2dsphere`` index

source/crud/read-operations/retrieve.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ To perform an aggregate operation, call the ``aggregate()`` method on an
100100
instance of a ``MongoCollection``. This method accepts aggregation
101101
expressions to run in sequence. To perform aggregations, you can
102102
define aggregation stages that specify how to match documents, rename
103-
fields, and group values. For more information, see our
104-
:doc:`Aggregation </fundamentals/aggregation>` guide.
103+
fields, and group values. For more information, see the
104+
:ref:`java-aggregation` guide.
105105

106106
Example
107107
~~~~~~~

source/data-formats/codecs.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sections:
3535
- :ref:`Custom Codec Example <codecs-custom-example>`
3636

3737
If you are customizing encoding and decoding logic for plain old Java objects
38-
(POJOs), read our guide on :doc:`POJO Customization </fundamentals/data-formats/pojo-customization>`.
38+
(POJOs), see the :ref:`fundamentals-pojo-customization` guide.
3939

4040
.. _codecs-codec:
4141

@@ -223,9 +223,8 @@ section of this guide.
223223

224224
When working with POJOs, consider using the ``PojoCodecProvider`` to
225225
minimize duplicate code to convert commonly-used data types and customize
226-
their behavior. See our
227-
:doc:`POJO Customization guide </fundamentals/data-formats/pojo-customization>`
228-
for more information.
226+
their behavior. See our :ref:`fundamentals-pojo-customization` guide to
227+
learn more.
229228

230229
.. _codecs-default-codec-registry:
231230

source/data-formats/document-data-format-bson.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ including:
4747
- `JsonObject <{+api+}/apidocs/bson/org/bson/json/JsonObject.html>`__ (BSON library package)
4848
- `BasicDBObject <{+api+}/apidocs/mongodb-driver-core/com/mongodb/BasicDBObject.html>`__ (Java Driver package)
4949

50-
For more information about using these object types, see our
51-
:doc:`Documents guide </fundamentals/data-formats/documents>`.
50+
For more information about using these object types, see the
51+
:ref:`fundamentals-documents` guide.
5252

5353
.. _install-bson-library:
5454

source/data-formats/document-data-format-extended-json.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ an example Extended JSON string into a ``Document`` object using the
178178

179179
Document{{_id=507f1f77bcf86cd799439011, myNumber=4794261}}
180180

181-
For more information, see our Fundamentals page
182-
on :doc:`Documents </fundamentals/data-formats/documents>`.
181+
For more information, see the :ref:`Documents
182+
<fundamentals-documents>` guide.
183183

184184
Using the BSON Library
185185
~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)