Skip to content

Commit

Permalink
DOCSP-43826: v5.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rustagir committed Sep 25, 2024
1 parent 626cf65 commit 0dc2d5c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
6 changes: 5 additions & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
define: prefix docs/languages/kotlin/kotlin-sync-driver
define: base https://www.mongodb.com/docs/
define: versions master
define: versions v5.1 v5.2 master

symlink: current -> master

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

raw: ${prefix}/ -> ${base}/current/
raw: ${prefix}/master -> ${base}/upcoming/
4 changes: 2 additions & 2 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
driver-long = "MongoDB Kotlin Sync Driver"
driver-short = "Kotlin Sync driver"
language = "Kotlin"
version-number = "5.1"
full-version = "{+version-number+}.4"
version-number = "5.2"
full-version = "{+version-number+}.0"
version = "v{+version-number+}"
mdb-server = "MongoDB Server"
stable-api = "Stable API"
Expand Down
1 change: 1 addition & 0 deletions source/includes/indexes/indexes.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import com.mongodb.client.model.Indexes
import com.mongodb.client.model.Filters
import com.mongodb.client.model.Sorts
import com.mongodb.client.model.SearchIndexModel
import com.mongodb.client.model.SearchIndexType
import com.mongodb.kotlin.client.MongoClient
import org.bson.codecs.pojo.annotations.BsonId
import org.bson.types.ObjectId
Expand Down
7 changes: 6 additions & 1 deletion source/indexes/atlas-search-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ The following code example shows how to create an Atlas Search index:
:end-before: end-create-search-index
:dedent:

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 Atlas Search and
Vector Search indexes in one call:

Expand Down Expand Up @@ -143,4 +148,4 @@ Additional Information
----------------------

To learn more about MongoDB Atlas Search, see the :atlas:`Atlas Search Indexes </atlas-search/atlas-search-overview/>`
documentation.
documentation.
7 changes: 7 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ improvements, and fixes:

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

.. TODO blocked on https://github.com/10gen/docs-shared/pull/85
.. .. replacement:: vector-search-link
..
.. the :atlas:`Atlas Vector Search Quick Start
.. </atlas-vector-search/tutorials/vector-search-quick-start/>` and
.. select :guilabel:`Kotlin (Sync)` from the language dropdown.

- Adds support for serializers from the ``kotlinx-datetime`` library
that let you map {+language+} date and time types to BSON as the
expected types instead of as strings. To learn more, see the
Expand Down

0 comments on commit 0dc2d5c

Please sign in to comment.