diff --git a/source/fundamentals/builders/aggregates.txt b/source/fundamentals/builders/aggregates.txt index dae2aad0..1ee12e0e 100644 --- a/source/fundamentals/builders/aggregates.txt +++ b/source/fundamentals/builders/aggregates.txt @@ -946,4 +946,4 @@ specifications: To learn more about this helper, see the `vectorSearch() API documentation -<{+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+}/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)>`__. diff --git a/source/fundamentals/indexes.txt b/source/fundamentals/indexes.txt index 179e44a2..12be41ad 100644 --- a/source/fundamentals/indexes.txt +++ b/source/fundamentals/indexes.txt @@ -270,6 +270,11 @@ The following code example shows how to create an Atlas Search index: .. literalinclude:: /examples/generated/SearchIndexesTest.snippet.single-search-index-create.kt :language: kotlin +To create multiple Search or Vector Search indexes, you must create a +`SearchIndexModel +<{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/SearchIndexModel.html>`__ +instance for each index. + The following code example shows how to create Search and Vector Search indexes in one call: