Restrict cold nodes queries

Hi,

If for example, I configure an ILM to send an index to a cold Elasticsearch node. How to ensure that search queries on Elasticsearch only process hot nodes and not cold ones because researching cold nodes will be costly? Can this be done with Rollups? If so, how

Thanks in advance

If you don't want to search the cold data, make sure it has a timestamp field and then exclude the data you don't want with a range query on its timestamp.

Rollups are a good idea too, if you're only wanting to search rolled-up data.

1 Like

Thank you very much @DavidTurner for your reply !!