@@ -992,15 +992,17 @@ Atlas Vector Search
992992 :atlas:`Limitations </atlas-vector-search/vector-search-stage/#limitations>`
993993 in the MongoDB Atlas documentation.
994994
995- Use the ``vectorSearch()`` method to create a :atlas:`$vectorSearch </atlas-vector-search/vector-search-stage/>`
995+ Use the ``vectorSearch()`` method to create a :atlas:`$vectorSearch
996+ </atlas-vector-search/vector-search-stage/>`
996997pipeline stage that specifies a **semantic search**. A semantic search is
997998a type of search which locates information that is similar in meaning.
998999
9991000To use this feature, you must set up a vector search index and index your
10001001vector embeddings. To learn about how to programmatically create a
10011002vector search index, see the :ref:`java-search-indexes` section in the Indexes guide. To
10021003learn more about vector embeddings, see
1003- :atlas:`How to Index Vector Embeddings for Vector Search </atlas-search/field-types/knn-vector/>`.
1004+ :atlas:`How to Index Vector Embeddings for Vector Search
1005+ </atlas-search/field-types/knn-vector/>`.
10041006
10051007The following example shows how to build an aggregation pipeline that uses the
10061008``vectorSearch()`` and ``project()`` methods to compute a vector search score:
@@ -1020,5 +1022,7 @@ preceding aggregation pipeline:
10201022 :language: java
10211023 :dedent:
10221024
1023- Learn more about this helper from the
1024- `vectorSearch() <{+api+}//apidocs/mongodb-driver-core/com/mongodb/client/model/Aggregates.html#vectorSearch(com.mongodb.client.model.search.FieldSearchPath,java.lang.Iterable,java.lang.String,long,long)>`__ API documentation.
1025+ Learn more about this helper in the
1026+ `vectorSearch()
1027+ <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Aggregates.html#vectorSearch(com.mongodb.client.model.search.FieldSearchPath,java.lang.Iterable,java.lang.String,long,com.mongodb.client.model.search.VectorSearchOptions)>`__
1028+ API documentation.
0 commit comments