Index should fit in RAM or in cache?

I think the RAM / memory refers to the total physical RAM available on the server (or specific node).

Also, see these articles: