Functionality described here : https://docs.mongodb.com/manual/core/index-ttl/ Could be combined with issue #13 to support 'background' option when creating indexes as well.