11.. _kotlin-sync-single-field-index:
22
33====================
4- Single- Field Indexes
4+ Single Field Indexes
55====================
66
77.. contents:: On this page
@@ -20,19 +20,19 @@ Single-Field Indexes
2020Overview
2121--------
2222
23- :manual:`Single- field indexes </core/index-single/>` are indexes with a reference to a
23+ :manual:`Single field indexes </core/index-single/>` are indexes with a reference to a
2424single field within a collection's documents. They improve single field query and sort
2525performance, and support :manual:`TTL Indexes </core/index-ttl>` that automatically remove
2626documents from a collection after a certain amount of time or at a specific clock time.
2727
28- When creating a single- field index, you must specify the following:
28+ When creating a single field index, you must specify the following:
2929
3030- The field on which to create the index
3131- The sort order for the indexed values (ascending or descending)
3232
3333.. note::
3434
35- The ``_id_`` index is an example of a single- field index. This index is automatically
35+ The ``_id_`` index is an example of a single field index. This index is automatically
3636 created on the ``_id`` field when a new collection is created.
3737
3838Sample Data
@@ -51,7 +51,7 @@ The following {+language+} data class models the documents in this collection:
5151 :language: kotlin
5252 :copyable:
5353
54- Create Single- Field Index
54+ Create Single Field Index
5555-------------------------
5656
5757The following example creates an index in ascending order on the ``title`` field:
@@ -82,7 +82,7 @@ The following is an example of a query that is covered by the index created in t
8282Additional Information
8383----------------------
8484
85- To learn more about single- field indexes, see :manual:`Single Field Indexes </core/index-single>`
85+ To learn more about single field indexes, see :manual:`Single Field Indexes </core/index-single>`
8686in the {+mdb-server+} manual.
8787
8888API Documentation
0 commit comments