Skip to content

Commit c40eb12

Browse files
committed
fixes
1 parent 28316e4 commit c40eb12

File tree

9 files changed

+13
-21
lines changed

9 files changed

+13
-21
lines changed

source/atlas-vector-search.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,6 @@ The following example shows how to build an aggregation pipeline that uses the
6363
:language: java
6464
:dedent:
6565

66-
.. tip:: Query Vector Type
67-
68-
The preceding example creates an instance of ``BinaryVector`` to
69-
serve as the query vector, but you can also create a ``List`` of
70-
``Double`` instances. However, we recommend that you use the
71-
``BinaryVector`` type to improve storage efficiency.
72-
7366
The following example shows how you can run the aggregation and print
7467
the vector search meta-score from the result of the preceding
7568
aggregation pipeline:
@@ -103,5 +96,3 @@ guide, see the following API documentation:
10396

10497
- `Projections.metaVectorSearchScore()
10598
<{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Projections.html#metaVectorSearchScore(java.lang.String)>`__
106-
107-
- `BinaryVector <{+api+}/apidocs/bson/org/bson/BinaryVector.html>`__

source/builders/aggregates.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ Aggregates Builders
1515
:depth: 2
1616
:class: singlecol
1717

18-
.. toctree::
19-
20-
Atlas Vector Search </builders/vector-search>
21-
2218
.. _aggregates-builders:
2319

2420
Overview

source/builders/indexes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ following types of indexes:
2929

3030
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 our guide on :ref:`Indexes <java-fundamentals-indexes>` for
3333
examples of queries covered by indexes.
3434

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

source/builders/updates.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _updates-builders:
2+
13
================
24
Updates Builders
35
================
@@ -8,8 +10,6 @@ Updates Builders
810
:depth: 2
911
:class: singlecol
1012

11-
.. _updates-builders:
12-
1313
Overview
1414
--------
1515

source/crud/collations.txt

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

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

source/crud/read-operations/geo.txt

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

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

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

source/crud/read-operations/retrieve.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ 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
103103
fields, and group values. For more information, see our
104-
:doc:`Aggregation </fundamentals/aggregation>` guide.
104+
:ref:`Aggregation <java-aggregation>` guide.
105105

106106
Example
107107
~~~~~~~

source/crud/write-operations/modify.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ The ``updateOne()`` and ``updateMany()`` methods both have the following
6767
parameters:
6868

6969
- ``query`` specifies a query filter with the criteria to match documents to update in your collection
70-
- ``updateDocument`` specifies the fields and values to modify in the matching document or documents. For this example, we use the :doc:`Updates builder </fundamentals/builders/updates>` to create the update document.
70+
- ``updateDocument`` specifies the fields and values to modify in the
71+
matching document or documents. For this example, we use the
72+
:ref:`Updates builder <updates-builders>` to create the
73+
update document.
7174

7275
You can create the ``updateDocument`` using an ``Updates`` builder as
7376
follows:

source/indexes.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ Multikey indexes behave differently from other indexes in terms of query coverag
204204
sort behavior. To learn more about multikey indexes, including a discussion of their behavior and limitations,
205205
see the :manual:`Multikey Indexes page </core/index-multikey>` in the MongoDB manual.
206206

207+
.. _java-search-indexes:
207208
.. _search-indexes:
208209

209210
Atlas Search Indexes
@@ -595,4 +596,5 @@ For prior versions of MongoDB, pass "*" as a parameter to your call to
595596
For more information about the methods in this section, see the following API Documentation:
596597

597598
- `dropIndex() <{+api+}/apidocs/mongodb-driver-sync/com/mongodb/client/MongoCollection.html#dropIndex(java.lang.String)>`__
598-
- `dropIndexes() <{+api+}/apidocs/mongodb-driver-sync/com/mongodb/client/MongoCollection.html#dropIndexes()>`__
599+
- `dropIndexes()
600+
<{+api+}/apidocs/mongodb-driver-sync/com/mongodb/client/MongoCollection.html#dropIndexes()>`__

0 commit comments

Comments
 (0)