@@ -22,7 +22,7 @@ Data expiration is useful for some classes of information, including
2222machine generated event data, logs, and session information that only
2323need to persist for a limited period of time.
2424
25- A special :doc :`TTL index property </core/ index-ttl>` supports the
25+ A special :ref :`TTL index property <index-feature -ttl>` supports the
2626implementation of TTL collections. The TTL feature relies on a
2727background thread in :binary:`~bin.mongod` that reads the date-typed values
2828in the index and removes expired :term:`documents <document>` from the
@@ -31,7 +31,7 @@ collection.
3131Procedures
3232----------
3333
34- To create a :doc :`TTL index </core/ index-ttl>`, use the
34+ To create a :ref :`TTL index <index-feature -ttl>`, use the
3535:method:`db.collection.createIndex()` method with the
3636``expireAfterSeconds`` option on a field whose value is either a
3737:ref:`date <document-bson-type-date>` or an array that contains
@@ -41,7 +41,7 @@ To create a :doc:`TTL index </core/index-ttl>`, use the
4141
4242 The TTL index is a single field index. Compound indexes do not
4343 support the TTL property. For more information on TTL indexes, see
44- :doc:`/core/ index-ttl`.
44+ :ref:` index-feature -ttl`.
4545
4646You can modify the ``expireAfterSeconds`` of an existing TTL index
4747using the :dbcommand:`collMod` command.
0 commit comments