@@ -3,17 +3,17 @@ level: 4
3
3
ref : create-collection
4
4
stepnum : 1
5
5
content : |
6
- From the :ref:`Indexes <collection-tab>` tab, click
7
- :guilabel:`Create Index` to open the
8
- :guilabel:`Create Index` dialog.
6
+ From the :ref:`Indexes <collection-tab>` tab, click the
7
+ :guilabel:`Create Index` button to bring up the
8
+ :guilabel:`Create Index` dialog.
9
9
---
10
10
title : Optional. Enter the index name.
11
11
level : 4
12
12
ref : enter-index-name
13
13
stepnum : 2
14
14
content : |
15
- In the dialog, enter the name of the index to create, or leave blank
16
- to have MongoDB create a default name for the index.
15
+ In the dialog, enter the name of the index to create, or leave blank
16
+ to have MongoDB create a default name for the index.
17
17
---
18
18
title : Add fields to index.
19
19
level : 4
@@ -48,58 +48,58 @@ ref: index-options
48
48
stepnum : 4
49
49
content : |
50
50
51
- |compass-short| supports the following index options:
51
+ |compass-short| supports the following index options:
52
52
53
- .. list-table::
54
- :header-rows: 1
55
- :widths: 40 60 20
53
+ .. list-table::
54
+ :header-rows: 1
55
+ :widths: 40 60 20
56
56
57
- * - Option
58
- - Description
59
- - More Information
57
+ * - Option
58
+ - Description
59
+ - More Information
60
60
61
- * - Build index in the background
61
+ * - Build index in the background
62
62
63
- - Ensure that the MongoDB deployment remains available during
63
+ - Ensure that the MongoDB deployment remains available during
64
64
the index build operation.
65
65
66
- - :manual:`Background Construction </core/index-creation/index.html#background-construction>`
66
+ - :manual:`Background Construction </core/index-creation/index.html#background-construction>`
67
67
68
- * - Create unique index
68
+ * - Create unique index
69
69
70
- - Ensure that the indexed fields do not store duplicate values.
70
+ - Ensure that the indexed fields do not store duplicate values.
71
71
72
- - :manual:`Unique Indexes </core/index-unique>`
72
+ - :manual:`Unique Indexes </core/index-unique>`
73
73
74
- * - Create a :abbr:`TTL (Time to Live)` index
74
+ * - Create a :abbr:`TTL (Time to Live)` index
75
75
76
- - Delete documents automatically after a specified number of
77
- seconds since the indexed field value.
76
+ - Delete documents automatically after a specified number of
77
+ seconds since the indexed field value.
78
78
79
- - :manual:`TTL Indexes </core/index-ttl>`
79
+ - :manual:`TTL Indexes </core/index-ttl>`
80
80
81
- * - Partial filter expression
81
+ * - Partial filter expression
82
82
83
- - Index only the documents which match the specified filter
84
- expression.
83
+ - Index only the documents which match the specified filter
84
+ expression.
85
85
86
- .. example::
86
+ .. example::
87
87
88
- The following partial filter expression only indexes
89
- documents where the ``timezone`` field exists:
88
+ The following partial filter expression only indexes
89
+ documents where the ``timezone`` field exists:
90
90
91
- .. code-block:: js
91
+ .. code-block:: js
92
92
93
- { "timezone": { "$exists": true } }
94
-
95
- - :manual:`Partial Indexes </core/index-partial/>`
93
+ { "timezone": { "$exists": true } }
94
+
95
+ - :manual:`Partial Indexes </core/index-partial/>`
96
96
97
- * - Use custom collation
97
+ * - Use custom collation
98
98
99
- - Create a custom collation for the index using the options
100
- provided in |compass-short|.
99
+ - Create a custom collation for the index using the options
100
+ provided in |compass-short|.
101
101
102
- - :manual:`Collation Document </reference/collation/#collation-document>`
102
+ - :manual:`Collation Document </reference/collation/#collation-document>`
103
103
104
104
* - Wildcard projection (*New in MongoDB 4.2*)
105
105
@@ -130,4 +130,3 @@ level: 4
130
130
ref : create-index-button
131
131
stepnum : 5
132
132
content : " "
133
- ...
0 commit comments