Skip to content

Commit 42fda62

Browse files
committed
Update broken Vector Search links
1 parent 25c082d commit 42fda62

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"pymongo-api": ("https://pymongo.readthedocs.io/en/stable/", None),
5151
"python": ("https://docs.python.org/3/", None),
5252
"atlas": ("https://www.mongodb.com/docs/atlas/", None),
53+
"vector-search": ("https://www.mongodb.com/docs/vector-search/", None),
5354
"manual": ("https://www.mongodb.com/docs/manual/", None),
5455
"sphinx": ("https://www.sphinx-doc.org/en/master", None),
5556
}

docs/ref/models/indexes.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ minutes, depending on the size of the collection.
6363
.. class:: VectorSearchIndex(*, fields=(), name=None, similarities)
6464

6565
A subclass of :class:`SearchIndex` that creates a :doc:`vector search index
66-
<atlas:atlas-vector-search/vector-search-type>` on the given field(s).
66+
<vector-search:index/vector-search-type>` on the given field(s).
6767

6868
The index must reference at least one vector field: an :class:`.ArrayField`
6969
with a :attr:`~.ArrayField.base_field` of
@@ -76,7 +76,7 @@ minutes, depending on the size of the collection.
7676

7777
Available values for the required ``similarities`` keyword argument are
7878
``"cosine"``, ``"dotProduct"``, and ``"euclidean"`` (see
79-
:ref:`atlas:avs-similarity-functions` for how to choose). You can provide
80-
this value either a string, in which case that value will be applied to all
81-
vector fields, or a list or tuple of values with a similarity corresponding
82-
to each vector field.
79+
:ref:`vector-search:avs-similarity-functions` for how to choose). You can
80+
provide this value either a string, in which case that value will be
81+
applied to all vector fields, or a list or tuple of values with a
82+
similarity corresponding to each vector field.

docs/ref/models/search.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ This allows for more expressive and readable search logic:
471471
.. class:: SearchVector(path, query_vector, limit, *, num_candidates=None, exact=None, filter=None)
472472

473473
Performs vector similarity search using the :doc:`$vectorSearch stage
474-
<atlas:atlas-vector-search/vector-search-stage>`.
474+
<vector-search:query/aggregation-stages/vector-search-stage>`.
475475

476476
Retrieves documents whose vector field is most similar to a given query vector,
477477
using either approximate or exact nearest neighbor search.

0 commit comments

Comments
 (0)