How to check if a document exists for a specified Id and alias name

You never described you reasons for using rollover for this use case. Based on your queries it sounds like you would be better off using a single index that you update rather than rollover and ILM. This will make updates much easier to handle and completely avoid the issues you seem determined to solve while making deletes and retention management a bit more expensive.

How much data are you ingesting and updating per day? How long is your retention period? Do you base this retention period on when the document was initially created or when it was last updated?

1 Like