@Malik, Deepankar In addition to the above.
As far as query is concerned, TTL shouldn’t have any significant performance impact. There is a delay between documents getting marked for deletion and the actual deletion. During this delay, the index will still have the terms for the document that have expired. So aggregate queries like COUNT(1) or SUM() which relies on index for the complete evaluation might include the documents that are deleted. This result discrepancy is expected for only a very short period.
Regards,
Oury