File tree Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 1
1
define: prefix docs/languages/kotlin/kotlin-sync-driver
2
2
define: base https://www.mongodb.com/docs/
3
- define: versions master
3
+ define: versions v5.1 v5.2 master
4
+
5
+ symlink: current -> master
4
6
5
7
# raw: <source file> -> ${base}/<destination>
6
8
9
+ raw: ${prefix}/ -> ${base}/current/
10
+ raw: ${prefix}/master -> ${base}/upcoming/
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
24
24
driver-long = " MongoDB Kotlin Sync Driver"
25
25
driver-short = " Kotlin Sync driver"
26
26
language = " Kotlin"
27
- version-number = " 5.1 "
28
- full-version = " {+version-number+}.4 "
27
+ version-number = " 5.2 "
28
+ full-version = " {+version-number+}.0 "
29
29
version = " v{+version-number+}"
30
30
mdb-server = " MongoDB Server"
31
31
stable-api = " Stable API"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import com.mongodb.client.model.Indexes
4
4
import com.mongodb.client.model.Filters
5
5
import com.mongodb.client.model.Sorts
6
6
import com.mongodb.client.model.SearchIndexModel
7
+ import com.mongodb.client.model.SearchIndexType
7
8
import com.mongodb.kotlin.client.MongoClient
8
9
import org.bson.codecs.pojo.annotations.BsonId
9
10
import org.bson.types.ObjectId
Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ The following code example shows how to create an Atlas Search index:
74
74
:end-before: end-create-search-index
75
75
:dedent:
76
76
77
+ To create multiple Search or Vector Search indexes, you must create a
78
+ `SearchIndexModel
79
+ <{+core-api+}/com/mongodb/client/model/SearchIndexModel.html>`__
80
+ instance for each index.
81
+
77
82
The following code example shows how to create Atlas Search and
78
83
Vector Search indexes in one call:
79
84
@@ -143,4 +148,4 @@ Additional Information
143
148
----------------------
144
149
145
150
To learn more about MongoDB Atlas Search, see the :atlas:`Atlas Search Indexes </atlas-search/atlas-search-overview/>`
146
- documentation.
151
+ documentation.
Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ improvements, and fixes:
33
33
34
34
the :ref:`kotlin-sync-search-avs-indexes` guide
35
35
36
+ .. replacement:: vector-search-link
37
+
38
+ the :atlas:`Atlas Vector Search Quick Start
39
+ </atlas-vector-search/tutorials/vector-search-quick-start/>` and
40
+ select :guilabel:`Kotlin (Sync)` from the language dropdown.
41
+
36
42
- Adds support for serializers from the ``kotlinx-datetime`` library
37
43
that let you map {+language+} date and time types to BSON as the
38
44
expected types instead of as strings. To learn more, see the
You can’t perform that action at this time.
0 commit comments