Secondary Indexes in memory?

Is there any reason for keeping secondary indexes in memory? For > 5 TB storage and high index usage makes it impossible to use Aerospike. Is there a reason why indexes need to be in memory? I can understand if the metadata required to seek into the index file is stored in the file.