Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4392

Comment on: "manual/tutorial/expire-data.txt"

    XMLWordPrintableJSON

Details

    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?

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 51 weeks, 5 days ago