Constructor for an IndexCache.
No indexes are allocated when an IndexCache is created. Instead, indexes are allocated and added to the cache as needed.