diff --git a/source/includes/steps-create-index.yaml b/source/includes/steps-create-index.yaml index 042dfc4c2..eb2c1795b 100644 --- a/source/includes/steps-create-index.yaml +++ b/source/includes/steps-create-index.yaml @@ -27,7 +27,7 @@ content: | index type. You can specify one of the following types: - Ascending - + - Descending - 2dsphere @@ -82,12 +82,12 @@ content: | For example: - The following partial filter expression only indexes - documents where the ``timezone`` field exists: + The following partial filter expression only indexes + documents where the ``timezone`` field exists: - .. code-block:: js + .. code-block:: js - { "timezone": { "$exists": true } } + { "timezone": { "$exists": true } } - :manual:`Partial Indexes ` @@ -101,17 +101,17 @@ content: | For example: - Consider the following wildcard projection document: + Consider the following wildcard projection document: - .. code-block:: javascript + .. code-block:: javascript - { - "product_attributes.elements" : 1, - "product_attributes.resistance" : 1 - } + { + "product_attributes.elements" : 1, + "product_attributes.resistance" : 1 + } - If your index field name is ``$**``, your index only - includes the values of the fields in that projection. + If your index field name is ``$**``, your index only + includes the values of the fields in that projection. - :ref:`compass-wildcard-index`