Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions source/includes/steps-create-index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ content: |
index type. You can specify one of the following types:

- Ascending

- Descending

- 2dsphere
Expand Down Expand Up @@ -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 </core/index-partial/>`

Expand All @@ -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`

Expand Down
Loading