File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,13 @@ Add Secondary Indexes on metaField and timeField
17
17
:keywords: Time series, IOT
18
18
19
19
To improve query performance for :term:`time series collections <time
20
- series collection>`, add :term:`secondary indexes <secondary index>`
21
- that cover common query patterns.
20
+ series collection>`, add one or more :term:`secondary indexes <secondary
21
+ index>` to support common time series query patterns. Specifically, we
22
+ recommend that you create one or more :ref:`compound indexes
23
+ <index-type-compound>` on the fields specified as the ``timeField`` and
24
+ the ``metaField``. If the field value for the ``metaField`` field is a
25
+ document, you can create secondary indexes on fields inside that
26
+ document.
22
27
23
28
.. note::
24
29
You can’t perform that action at this time.
0 commit comments