Skip to content

Commit 442338f

Browse files
authored
DOCSP-43826: v5.2 release (#49)
* DOCSP-43826: v5.2 release * link fix * docs-shared updated
1 parent 626cf65 commit 442338f

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

config/redirects

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
define: prefix docs/languages/kotlin/kotlin-sync-driver
22
define: base https://www.mongodb.com/docs/
3-
define: versions master
3+
define: versions v5.1 v5.2 master
4+
5+
symlink: current -> master
46

57
# raw: <source file> -> ${base}/<destination>
68

9+
raw: ${prefix}/ -> ${base}/current/
10+
raw: ${prefix}/master -> ${base}/upcoming/

snooty.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2424
driver-long = "MongoDB Kotlin Sync Driver"
2525
driver-short = "Kotlin Sync driver"
2626
language = "Kotlin"
27-
version-number = "5.1"
28-
full-version = "{+version-number+}.4"
27+
version-number = "5.2"
28+
full-version = "{+version-number+}.0"
2929
version = "v{+version-number+}"
3030
mdb-server = "MongoDB Server"
3131
stable-api = "Stable API"

source/includes/indexes/indexes.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import com.mongodb.client.model.Indexes
44
import com.mongodb.client.model.Filters
55
import com.mongodb.client.model.Sorts
66
import com.mongodb.client.model.SearchIndexModel
7+
import com.mongodb.client.model.SearchIndexType
78
import com.mongodb.kotlin.client.MongoClient
89
import org.bson.codecs.pojo.annotations.BsonId
910
import org.bson.types.ObjectId

source/indexes/atlas-search-index.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ The following code example shows how to create an Atlas Search index:
7474
:end-before: end-create-search-index
7575
:dedent:
7676

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+
7782
The following code example shows how to create Atlas Search and
7883
Vector Search indexes in one call:
7984

@@ -143,4 +148,4 @@ Additional Information
143148
----------------------
144149

145150
To learn more about MongoDB Atlas Search, see the :atlas:`Atlas Search Indexes </atlas-search/atlas-search-overview/>`
146-
documentation.
151+
documentation.

source/whats-new.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ improvements, and fixes:
3333

3434
the :ref:`kotlin-sync-search-avs-indexes` guide
3535

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+
3642
- Adds support for serializers from the ``kotlinx-datetime`` library
3743
that let you map {+language+} date and time types to BSON as the
3844
expected types instead of as strings. To learn more, see the

0 commit comments

Comments
 (0)