Skip to content

Commit c9ef744

Browse files
committed
avs updates
1 parent 6065df2 commit c9ef744

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

examples/src/test/kotlin/AggregatesBuilderTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import com.mongodb.client.model.geojson.Position
2828
import com.mongodb.client.model.search.SearchOperator
2929
import com.mongodb.client.model.search.SearchOptions
3030
import com.mongodb.client.model.search.SearchPath
31-
import com.mongodb.client.model.search.VectorSearchOptions
3231
import com.mongodb.client.model.search.VectorSearchOptions.exactVectorSearchOptions
3332
import com.mongodb.kotlin.client.coroutine.MongoClient
3433
import config.getConfig

source/fundamentals/builders/aggregates.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -932,13 +932,12 @@ The example in this section uses data modeled with the following Kotlin data cla
932932
:language: kotlin
933933

934934
This example shows how to build an aggregation pipeline that uses the
935-
``vectorSearch()`` method to perform a vector search with the following
935+
``vectorSearch()`` method to perform an exact vector search with the following
936936
specifications:
937937

938938
- Searches ``plotEmbedding`` field values by using vector embeddings of a
939939
string value
940940
- Uses the ``mflix_movies_embedding_index`` vector search index
941-
- Considers up to 2 nearest neighbors
942941
- Returns 1 document
943942
- Filters for documents in which the ``year`` value is at least ``2016``
944943

source/whats-new.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ improvements, and fixes:
3535

3636
:ref:`kotlin-search-indexes` in the Indexes guide
3737

38+
.. TODO blocked on https://github.com/10gen/docs-shared/pull/85
39+
.. .. replacement:: vector-search-link
40+
..
41+
.. :ref:`kotlin-atlas-vector-search` in the Aggregates Builders guide
42+
3843
- Adds support for serializers from the ``kotlinx-datetime`` library
3944
that let you map {+language+} date and time types to BSON as the
4045
expected types instead of as strings. To learn more, see the

0 commit comments

Comments
 (0)