maintain all documents in redis in sorted sets by modified date so as to avoid duplicates, both globally and per user