We are planning to implement hot and cold architecture by allocating shards to different nodes tagged with hot/warm/cold. I want to understand more about performance benefits of this architecture.
Lets say I move last 15 days of my indices to hot nodes,60 days older indices to warm nodes and all other older nodes to cold nodes.
- Now If I am executing a search query with a time range of last 15 days, will it search across all nodes or only the nodes tagged with "Hot" nodes?
- Shard allocation filter settings applied while writing to a new index are applicable while executing search queries also?
- If elastic search is searching across all the nodes to get the result then is there any way I can specify a filter like, "if its last 15 days, get results from only indices/shards present in Hot nodes"?