I have a ruby web app with a search function that is enabled by Elasticsearch.
There are 2 types of content
- Content A which should be searchable indefinitely
- Content B which is time-sensitive and no longer relevant after 90 days
How can I auto delete indices of content A beyond 90 days which always keeping content A indices ?