Hi,
I am running Version: 4.1.1-5914 Enterprise Edition (build-5914) as my production database.
I need to delete 30 Million Documents from Database. Can you suggest me alternative to do this ?
- Add ttl to all the documents inserted till today
- Simply do a delete query where insereted ts < today
Note:
While I was deleting the documents using method two.
Db had stopped indexing the documents.After stopping the delete query, it started indexing again