Skip to content

Commit 6e3ab1f

Browse files
committed
edits
1 parent 298c482 commit 6e3ab1f

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

source/atlas-vector-search.txt

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,17 @@ method accepts the following parameters:
5252
- ``options``: *(Optional)* A set of options that you can use to configure the
5353
vector search query
5454

55-
Vector Search Example
56-
~~~~~~~~~~~~~~~~~~~~~
55+
Basic Vector Search Example
56+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
5757

58-
The following example performs an Atlas Vector Search query on the ``plot_embedding``
59-
vector field and prints the ``title`` value of the first five results:
58+
This example runs an Atlas Vector Search query that performs
59+
the following actions:
60+
61+
- Queries the ``plot_embedding`` vector field.
62+
- Limits the results to ``5`` documents.
63+
- Specifies an Approximate Nearest Neighbor (ANN) vector search that considers
64+
``150`` candidates. To learn more about ANN searches, see :atlas:`ANN Search </atlas-vector-search/vector-search-stage/#ann-search>`
65+
in the MongoDB Atlas documentation.
6066

6167
.. io-code-block::
6268

@@ -82,9 +88,13 @@ vector field and prints the ``title`` value of the first five results:
8288
``Double`` instances. However, we recommend that you use the
8389
``BinaryVector`` type to improve storage efficiency.
8490

85-
The following example shows how to run the aggregation and print
86-
the vector search meta-score from the result of the preceding
87-
aggregation pipeline:
91+
Vector Search Score Example
92+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
93+
94+
The following example shows how to run same vector search
95+
query as the preceding example and print the documents' vector search
96+
meta-score. This score represents the relevance of each
97+
document to the query vector:
8898

8999
.. io-code-block::
90100

0 commit comments

Comments
 (0)