Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10286

Embed TTL possible?

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 2.5.1
    • Component/s: Indexing
    • Labels:
      None
    • Environment:
      n/a

      Description

      Hello there,

      I have implemented a solution that extends upon the current TTL monitor and allows for dynamic expiration times. My solution works in that respect, but now I'm trying to find a way to retain the parent document and just remove the sub-document that was expired. For example, I have a Tag with a sub-document that is an array of Queue. My goal is to maintain the sub-documents using the ttl without deleting the Tag.

      Is this possible to with embed sub-docs? Referencing? From looking through past support forums I saw that someone had a similar use-case 10 months ago and I know this will crop-up even more so in the future.

      I look forward to hearing back from you!

      Cheers!

      Skylar

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: