-
Notifications
You must be signed in to change notification settings - Fork 14
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-42297: Time Series #78
Conversation
✅ Deploy Preview for docs-java-rs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! A couple suggestions but otherwise LGTM
:backlinks: none | ||
:depth: 1 | ||
:class: singlecol | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add facets/meta tags
source/data-formats/time-series.txt
Outdated
object with the `TimeSeriesOptions <{+api+}/mongodb-driver-core/com/mongodb/client/model/TimeSeriesOptions.html>`__ set | ||
using the ``timeSeriesOptions()`` method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: to avoid "using"
object with the `TimeSeriesOptions <{+api+}/mongodb-driver-core/com/mongodb/client/model/TimeSeriesOptions.html>`__ set | |
using the ``timeSeriesOptions()`` method | |
object with the `TimeSeriesOptions <{+api+}/mongodb-driver-core/com/mongodb/client/model/TimeSeriesOptions.html>`__ specified in the ``timeSeriesOptions()`` method |
source/data-formats/time-series.txt
Outdated
Example | ||
~~~~~~~ | ||
|
||
This example creates the ``october2024`` time series collection in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example creates the ``october2024`` time series collection in the | |
The following example creates a time series collection named ``october2024`` in the |
Example | ||
~~~~~~~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this header is needed here
source/data-formats/time-series.txt
Outdated
Example | ||
~~~~~~~ | ||
|
||
This example inserts New York City temperature data into the ``october2024`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example inserts New York City temperature data into the ``october2024`` | |
The following example inserts New York City temperature data into the ``october2024`` |
@vbabanin Bumping this review in case it fell through the cracks! |
.append("location", "New York City") | ||
.append("timestamp", new Date(1727841600000L)); | ||
|
||
collection.insertMany(Arrays.asList(temperature1, temperature2)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to subscribe to the publisher for the insert to happen.
collection.insertMany(Arrays.asList(temperature1, temperature2)); | |
Publisher<InsertManyResult> insertPublisher = collection.insertMany(Arrays.asList(temperature1, temperature2)); | |
Mono.from(insertPublisher).block(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-42297
Staging -
Self-Review Checklist