File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Get Started with {+driver-short+}
23
23
Download & Install </get-started/download-and-install/>
24
24
Create a Deployment </get-started/create-a-deployment/>
25
25
Create a Connection String </get-started/create-a-connection-string/>
26
- Connect to MongoDB </get-started/connect-to-mongodb/>
26
+ Connect </get-started/connect-to-mongodb/>
27
27
Next Steps </get-started/next-steps/>
28
28
29
29
Overview
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ MongoDB {+driver-short+} Documentation
13
13
.. toctree::
14
14
15
15
Get Started </get-started>
16
- Connect to MongoDB </connect>
16
+ Connect </connect>
17
17
Databases & Collections </databases-collections>
18
18
Write Data </write-operations>
19
19
Read Data </read>
@@ -27,7 +27,7 @@ MongoDB {+driver-short+} Documentation
27
27
Troubleshooting </troubleshooting>
28
28
What's New </whats-new>
29
29
Upgrade </upgrade>
30
- Migrate Motor to PyMongo Async </motor-async-migration>
30
+ Migrate from Motor </motor-async-migration>
31
31
Switch to PyMongo Async </pymongo-to-async-guide>
32
32
Previous Versions </previous-versions>
33
33
Issues & Help </issues-and-help>
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Optimize Queries with Indexes
22
22
:titlesonly:
23
23
:maxdepth: 1
24
24
25
- Work with Indexes </work-with-indexes
25
+ Work with Indexes </work-with-indexes>
26
26
27
27
Overview
28
28
--------
Original file line number Diff line number Diff line change 1
1
.. _pymongo-single-field-index:
2
2
3
3
====================
4
- Single- Field Indexes
4
+ Single Field Indexes
5
5
====================
6
6
7
7
.. contents:: On this page
@@ -20,13 +20,13 @@ Single-Field Indexes
20
20
Overview
21
21
--------
22
22
23
- :manual:`Single- field indexes </core/index-single/>` are indexes with a reference to a single field within a collection's
23
+ :manual:`Single field indexes </core/index-single/>` are indexes with a reference to a single field within a collection's
24
24
documents. They improve single field query and sort performance, and support :manual:`TTL Indexes </core/index-ttl>` that
25
25
automatically remove documents from a collection after a certain amount of time or at a specific clock time.
26
26
27
27
.. note::
28
28
29
- The ``_id_`` index is an example of a single- field index. This index is automatically created on the ``_id`` field
29
+ The ``_id_`` index is an example of a single field index. This index is automatically created on the ``_id`` field
30
30
when a new collection is created.
31
31
32
32
Sample Data
@@ -37,7 +37,7 @@ from the :atlas:`Atlas sample datasets </sample-data>`. To learn how to create a
37
37
free MongoDB Atlas cluster and load the sample datasets, see the
38
38
:ref:`<pymongo-get-started>`.
39
39
40
- Create Single- Field Index
40
+ Create Single Field Index
41
41
-------------------------
42
42
43
43
The following example creates an index in ascending order on the ``title`` field:
Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ Work with Indexes
19
19
20
20
.. toctree::
21
21
22
- Single-Field Indexes </indexes/single-field-index.txt>
23
- Compound Indexes </indexes/compound-index.txt>
24
- Multikey Indexes </indexes/multikey-index.txt>
25
- Atlas Search Indexes /indexes/atlas-search-index.txt
26
- Text Indexes </indexes/text-index.txt>
27
- Geospatial Indexes </indexes/geospatial-index.txt>
28
- Unique Indexes </indexes/unique-index.txt>
29
- Wildcard Indexes </indexes/wildcard-index.txt>
30
- Clustered Indexes </indexes/clustered-index.txt>
22
+ Single Field </indexes/single-field-index.txt>
23
+ Compound </indexes/compound-index.txt>
24
+ Multikey </indexes/multikey-index.txt>
25
+ Atlas Search /indexes/atlas-search-index.txt
26
+ Text </indexes/text-index.txt>
27
+ Geospatial </indexes/geospatial-index.txt>
28
+ Unique </indexes/unique-index.txt>
29
+ Wildcard </indexes/wildcard-index.txt>
30
+ Clustered </indexes/clustered-index.txt>
31
31
32
32
Overview
33
33
--------
You can’t perform that action at this time.
0 commit comments