Skip to content

Commit 1bced27

Browse files
committed
refs
1 parent 1446d29 commit 1bced27

File tree

7 files changed

+13
-22
lines changed

7 files changed

+13
-22
lines changed

source/connection/connect.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,7 @@ check the following items in your code:
295295

296296
- The credentials for the authentication mechanism that you specified are
297297
correct. To learn how to specify your credentials, see the
298-
:ref:`authentication-mechanisms` and :ref:`enterprise-authentication-mechanisms`
299-
guides.
298+
:ref:`authentication-mechanisms` guide.
300299

301300
- The name of the authentication database that you specified is correct. To
302301
learn how to set up the users and roles for your MongoDB deployment, see

source/connection/mongoclientsettings.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Example
162162

163163
This example demonstrates specifying a ``ConnectionString``:
164164

165-
.. literalinclude:: /includes/fundamentals/code-snippets/mcs.java
165+
.. literalinclude:: /includes/fundamentals/code-snippets/MCSettings.java
166166
:start-after: begin ConnectionString
167167
:end-before: end ConnectionString
168168
:language: java
@@ -290,7 +290,7 @@ Example
290290
This example specifies for the driver to connect directly to a server,
291291
regardless of the type of MongoDB cluster it's a part of:
292292

293-
.. literalinclude:: /includes/fundamentals/code-snippets/mcs.java
293+
.. literalinclude:: /includes/fundamentals/code-snippets/MCSettings.java
294294
:start-after: begin ClusterSettings
295295
:end-before: end ClusterSettings
296296
:language: java
@@ -380,7 +380,7 @@ This example specifies the following driver behavior in a pool of
380380
- The thread to wait at most ``10 SECONDS`` for an available connection
381381
- To have at most ``200`` connections associated with the pool
382382

383-
.. literalinclude:: /includes/fundamentals/code-snippets/mcs.java
383+
.. literalinclude:: /includes/fundamentals/code-snippets/MCSettings.java
384384
:start-after: begin ConnectionPoolSettings
385385
:end-before: end ConnectionPoolSettings
386386
:language: java
@@ -417,7 +417,7 @@ Example
417417
This example specifies that the maximum number of characters for a single log
418418
message is set to ``5000`` characters.
419419

420-
.. literalinclude:: /includes/fundamentals/code-snippets/mcs.java
420+
.. literalinclude:: /includes/fundamentals/code-snippets/MCSettings.java
421421
:start-after: begin LoggerSettings
422422
:end-before: end LoggerSettings
423423
:language: java
@@ -474,7 +474,7 @@ This example specifies the following driver behavior in a MongoDB deployment:
474474
``700 MILLISECONDS``
475475
- The cluster monitor to attempt reaching a server every ``15 SECONDS``
476476

477-
.. literalinclude:: /includes/fundamentals/code-snippets/mcs.java
477+
.. literalinclude:: /includes/fundamentals/code-snippets/MCSettings.java
478478
:start-after: begin ServerSettings
479479
:end-before: end ServerSettings
480480
:language: java
@@ -545,7 +545,7 @@ This example specifies the following driver behavior in a MongoDB socket:
545545
- To connect to an available socket within ``10 SECONDS``
546546
- To read from an available socket within ``15 SECONDS``
547547

548-
.. literalinclude:: /includes/fundamentals/code-snippets/mcs.java
548+
.. literalinclude:: /includes/fundamentals/code-snippets/MCSettings.java
549549
:start-after: begin SocketSettings
550550
:end-before: end SocketSettings
551551
:language: java
@@ -593,7 +593,7 @@ Example
593593
This example specifies for the driver to enable TLS/SSL when connecting
594594
to MongoDB:
595595

596-
.. literalinclude:: /includes/fundamentals/code-snippets/mcs.java
596+
.. literalinclude:: /includes/fundamentals/code-snippets/MCSettings.java
597597
:start-after: begin SslSettings
598598
:end-before: end SslSettings
599599
:language: java

source/crud/builders/aggregates.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Aggregates Builders
1919

2020
.. toctree::
2121

22-
Atlas Vector Search </builders/vector-search>
22+
Atlas Vector Search </atlas-vector-search>
2323

2424
Overview
2525
--------
@@ -90,7 +90,7 @@ Project
9090

9191
Use the ``project()`` method to create a :manual:`$project </reference/operator/aggregation/project/>`
9292
pipeline stage that project specified document fields. Field projection
93-
in aggregation follows the same rules as :ref:`field projection in queries </java-fundamentals-project>`.
93+
in aggregation follows the same rules as :ref:`field projection in queries <java-fundamentals-project>`.
9494

9595
.. tip::
9696

source/crud/builders/sort.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _v:
1+
.. _sorts-builders:
22

33
==============
44
Sorts Builders
@@ -39,7 +39,7 @@ criteria for your queries.
3939

4040
If you want to learn the fundamentals of sorting in the MongoDB Java
4141
driver, consider reading our
42-
:ref:`guide on sorting </java-fundamentals-sort>`.
42+
:ref:`guide on sorting <java-fundamentals-sort>`.
4343

4444
.. _sorts-builders-sort-sample:
4545

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ your project. If you added the MongoDB Java driver as a dependency to your
6060
project, you can skip this step since the BSON library is already included
6161
as a required dependency of the driver. For instructions on how to add the
6262
MongoDB Java driver as a dependency to your project, see the
63-
:ref:`driver installation <add-mongodb-dependency>` section of our Quick Start
63+
:ref:`driver installation <java-get-started-download-and-install>` section of our Quick Start
6464
guide.
6565

6666
We recommend that you use the `Maven <https://maven.apache.org/>`__ or

source/get-started/connect-to-mongodb.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.. _java-connect-to-mongodb:
2-
31
==================
42
Connect to MongoDB
53
==================

source/index.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ Get Started
5959
Learn how to establish a connection to MongoDB Atlas and begin
6060
working with data in the :ref:`Get Started <java-get-started>` section.
6161

62-
Quick Reference
63-
---------------
64-
65-
See driver syntax examples for common MongoDB commands in the
66-
:ref:`Quick Reference <java-quick-reference>` section.
67-
6862
What's New
6963
----------
7064

0 commit comments

Comments
 (0)