From 66f86a282f551bfa6a492e141c7878f19ea0ff3d Mon Sep 17 00:00:00 2001 From: Grace Miller Date: Mon, 30 Sep 2024 15:39:46 -0400 Subject: [PATCH 1/2] fixing spacing --- source/includes/steps-create-index.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/source/includes/steps-create-index.yaml b/source/includes/steps-create-index.yaml index 042dfc4c2..9c4c92cf4 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,14 +101,14 @@ 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. From cafe83a41f477284f6468fcfed269e57a7485ee5 Mon Sep 17 00:00:00 2001 From: Grace Miller Date: Tue, 1 Oct 2024 10:02:12 -0400 Subject: [PATCH 2/2] more errors --- source/includes/steps-create-index.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/includes/steps-create-index.yaml b/source/includes/steps-create-index.yaml index 9c4c92cf4..eb2c1795b 100644 --- a/source/includes/steps-create-index.yaml +++ b/source/includes/steps-create-index.yaml @@ -110,8 +110,8 @@ content: | "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`