@@ -72,14 +72,14 @@ Index Types
7272MongoDB provides several different index types to support querying
7373your data. The following steps describe the process for creating an index:
7474
75- - Use the ``IndexKeysDefinitionBuilder<TDocument>`` class, accessible through the
76- ``Builders<TDocument>.IndexKeys`` property, to create one or more
77- ``IndexKeysDefinition<TDocument>`` objects. These key definitions describe the type
78- of index to create and the index's other properties.
79- - Create a new ``CreateIndexModel<TDocument>`` object. Pass the key definitions from the
80- previous step to the constructor.
81- - Call the ``CreateOne()`` method on your collection's ``Indexes`` property. Pass
82- the ``CreateIndexModel<TDocument>`` object from the previous step.
75+ 1. Use the ``IndexKeysDefinitionBuilder<TDocument>`` class, which you can access through the
76+ ``Builders<TDocument>.IndexKeys`` property, to create one or more
77+ ``IndexKeysDefinition<TDocument>`` objects. These key definitions describe the type
78+ of index to create and the index's other properties.
79+ #. Create a new ``CreateIndexModel<TDocument>`` object. Pass the key definitions from the
80+ previous step to the constructor.
81+ #. Call the ``CreateOne()`` method on your collection's ``Indexes`` property. Pass
82+ the ``CreateIndexModel<TDocument>`` object from the previous step.
8383
8484The following sections describe the most common index types
8585and provide sample code for creating each index type.
0 commit comments