Skip to content

(DOCSP-10774): Fix bad refs in Compass index instructions #4153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2020
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
22 changes: 10 additions & 12 deletions source/includes/steps-create-index-compass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,51 +50,49 @@ content: |
- If checked, ensure that the MongoDB deployment remains
available during the index build operation.

- :manual:`Background Construction </core/index-creation/index.html#background-construction>`
- :ref:`Background Construction <index-creation-background>`

* - Create unique index

- If checked, ensure that the indexed fields do not
store duplicate values.

- :manual:`Unique Indexes </core/index-unique>`
- :ref:`Unique Indexes <index-type-unique>`

* - Create :abbr:`TTL (Time to Live)`

- If checked, automatically delete documents after a
specified number of seconds since the indexed field value.

- :manual:`TTL Indexes </core/index-ttl>`
- :ref:`TTL Indexes <index-feature-ttl>`

* - Partial filter expression

- If checked, only index documents which match the specified
filter expression.

.. example::
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/>`
- :ref:`Partial Indexes <index-type-partial>`

* - Use custom collation

- If checked, create a custom collation for the index
using the options provided in Compass.

- :manual:`Collation Document </reference/collation/#collation-document>`
- :ref:`Collation Document <collation-document-fields>`

* - Wildcard projection (*New in MongoDB 4.2*)

- If checked, support unknown or arbitrary fields
which match the specified projection in the index.

- :manual-next:`Wildcard Indexes </core/index-wildcard/>`
- :ref:`wildcard-index-core`
---
title: Click :guilabel:`Create` to create the index.
level: 4
Expand Down