Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question about capitalization

`SearchIndexModel
<{+core-api+}/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.
6 changes: 6 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ improvements, and fixes:

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

.. 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
Loading