[DOCS-4392] Comment on: "manual/tutorial/expire-data.txt" Created: 19/Nov/14  Updated: 13/Nov/23  Resolved: 20/Feb/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.18, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongodb version 2.2.3
OS:CentOS 5.4 release Final

Location: http://docs.mongodb.org/manual/tutorial/expire-data/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
Referrer: http://docs.mongodb.org/manual/core/index-ttl/
Screen Resolution: 1920 x 1080
repo: docs
source: tutorial/expire-data


Participants:
Days since reply: 8 years, 51 weeks, 5 days ago

 Description   

The docs said that
"You cannot create a TTL index on a field that already has an index.",
but I create a TTL index on a field that already has an index, and it worked,
the expired documents from the collection were removed automatically.
So, Why is there such a restriction?



 Comments   
Comment by Githook User [ 20/Feb/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-4392 reorg ttl index pages
Branch: master
https://github.com/mongodb/docs/commit/ed4beb29894a503a16824faa5bddeb516f716f5d

Comment by Githook User [ 20/Feb/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-4392 reorg ttl index pages
Branch: v2.6
https://github.com/mongodb/docs/commit/0c0874be7fe039ea573afce87e3dce4025862397

Comment by Githook User [ 05/Feb/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-4392 clarify restriction on ttl index
Branch: master
https://github.com/mongodb/docs/commit/83f338f8e8990b04d9c2960bb00f2669379e5397

Comment by Githook User [ 05/Feb/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-4392 clarify restriction on ttl index
Branch: v2.6
https://github.com/mongodb/docs/commit/e75b8b93190df59d6054039a5dc574c95d0eb569

Generated at Thu Feb 08 07:47:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.