Index lifecycle management (cleanup) based on document fields

Hi all,

I have an index with data that contains a start-date and end-date. Documents that have an end-date past today, are not valuable anymore. So ideally, I want them out of the index.

Is there a way to have index lifecycle management based on actual data?

Thanks in advance!

Cheers
J

No. ILM removes data by deleting complete indices, not specific documents within indices. You will need to use delete by query to achieve what you describe, which is something you will need to trigger yourself.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.