Skip to content

Commit b516aa2

Browse files
committed
MM PR fixes 1
1 parent 5b236eb commit b516aa2

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

source/indexes.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ The following example creates an ascending index on the specified field:
7070
Compound Index
7171
--------------
7272

73-
The following example creates a compound index on the specified fields:
73+
The following example creates a compound index of two ascending indexes
74+
on the specified fields:
7475

7576
.. literalinclude:: /includes/usage-examples/index-code-examples.php
7677
:start-after: start-compound
@@ -84,7 +85,8 @@ The following example creates a compound index on the specified fields:
8485
Multikey Index
8586
--------------
8687

87-
The following example creates a multikey index on the specified array-valued field:
88+
The following example creates an ascending multikey index on the
89+
specified array-valued field:
8890

8991
.. literalinclude:: /includes/usage-examples/index-code-examples.php
9092
:start-after: start-multikey
@@ -115,7 +117,8 @@ that has GeoJSON object values:
115117
Unique Index
116118
------------
117119

118-
The following example creates a unique index on the specified field:
120+
The following example creates an ascending unique index on the specified
121+
field:
119122

120123
.. literalinclude:: /includes/usage-examples/index-code-examples.php
121124
:start-after: start-unique
@@ -130,7 +133,8 @@ The following example creates a unique index on the specified field:
130133
Wildcard Index
131134
--------------
132135

133-
The following example creates a wildcard index in the specified collection:
136+
The following example creates an ascending wildcard index on the
137+
collection:
134138

135139
.. literalinclude:: /includes/usage-examples/index-code-examples.php
136140
:start-after: start-wildcard
@@ -146,8 +150,8 @@ Clustered Index
146150
---------------
147151

148152
You can create a clustered index when creating a new collection in a
149-
specified database. The following example creates a new collection with a
150-
clustered index on the ``_id`` field:
153+
specified database. The following example creates a new collection with an
154+
ascending clustered index on the ``_id`` field:
151155

152156
.. literalinclude:: /includes/usage-examples/index-code-examples.php
153157
:start-after: start-clustered

0 commit comments

Comments
 (0)