Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCSP-42607: v5.2 changes #48

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

rustagir
Copy link
Collaborator

@rustagir rustagir commented Sep 24, 2024

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-42607
Staging:

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Copy link

netlify bot commented Sep 24, 2024

Deploy Preview for docs-kotlin-sync ready!

Name Link
🔨 Latest commit 9d1c359
🔍 Latest deploy log https://app.netlify.com/sites/docs-kotlin-sync/deploys/66f30e265c16630008299856
😎 Deploy Preview https://deploy-preview-48--docs-kotlin-sync.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@norareidy norareidy left a comment

Choose a reason for hiding this comment

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

LGTM with some small comments

to the expected types in BSON.

In the following example, the driver serializes the fields of
Copy link
Collaborator

Choose a reason for hiding this comment

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

S: [nit] Since this sentence repeats "following", you could reword to just "this example":

Suggested change
In the following example, the driver serializes the fields of
In this example, the driver serializes the fields of


The following example inserts an instance of the ``Appointment`` data
class into MongoDB:
Copy link
Collaborator

Choose a reason for hiding this comment

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

S: you can be more specific about where you're inserting data

Suggested change
class into MongoDB:
class into a MongoDB collection named "appointments":


In MongoDB, the ``LocalDate`` value is stored as a BSON date, and the
``time`` field is stored as a string by default serialization:
Copy link
Collaborator

Choose a reason for hiding this comment

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

S: remove extra space

Suggested change
``time`` field is stored as a string by default serialization:
``time`` field is stored as a string by default serialization:

@@ -66,7 +72,8 @@ The following code example shows how to create an Atlas Search index:
:end-before: end-create-search-index
:dedent:

The following code example shows how to create multiple indexes:
The following code example shows how to create Search and
Copy link
Collaborator

Choose a reason for hiding this comment

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

S:

Suggested change
The following code example shows how to create Search and
The following code example shows how to create Atlas Search and

pre-filter your data.

You can call the following methods on a collection to manage your Atlas
Search and Vector Search indexes:

- ``createSearchIndex()``
- ``createSearchIndexes()``
Copy link
Collaborator

Choose a reason for hiding this comment

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

Q: Does the note below (can't comment on it directly) apply just to Atlas Search indexes? If it applies to Vector search index methods as well, I'd update it to reflect that

@rustagir rustagir merged commit 626cf65 into mongodb:master Sep 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants