Skip to content

Commit 3268a7c

Browse files
committed
Address JS feedback
1 parent bf11b99 commit 3268a7c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

source/data-formats/time-series.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
Time Series Data
55
================
66

7+
.. facet::
8+
:name: genre
9+
:values: reference
10+
11+
.. meta::
12+
:keywords: code example, measurement, weather
13+
714
.. contents:: On this page
815
:local:
916
:backlinks: none
@@ -64,14 +71,11 @@ To create a time series collection, pass the following parameters to the
6471

6572
- A `CreateCollectionOptions <{+api+}/mongodb-driver-core/com/mongodb/client/model/CreateCollectionOptions.html>`__
6673
object with the `TimeSeriesOptions <{+api+}/mongodb-driver-core/com/mongodb/client/model/TimeSeriesOptions.html>`__ set
67-
using the ``timeSeriesOptions()`` method
74+
with the ``timeSeriesOptions()`` method
6875

6976
.. _java-rs-time-series-create-example:
7077

71-
Example
72-
~~~~~~~
73-
74-
This example creates the ``october2024`` time series collection in the
78+
The following example creates a time series collection named ``october2024`` in the
7579
``fall_weather`` database with the ``timeField`` option set to the ``"timestamp"`` field:
7680

7781
.. literalinclude:: /includes/data-formats/time-series.java
@@ -114,7 +118,7 @@ in each inserted document.
114118
Example
115119
~~~~~~~
116120

117-
This example inserts New York City temperature data into the ``october2024``
121+
The following example inserts New York City temperature data into the ``october2024``
118122
time series collection created in the :ref:`Create a Time Series Collection example
119123
<java-rs-time-series-create-example>`. Each document contains the following fields:
120124

0 commit comments

Comments
 (0)