lance.LanceDataset.prewarm_index(name: str)

Prewarm an index

This will load the entire index into memory. This can help avoid cold start issues with index queries. If the index does not fit in the index cache, then this will result in wasted I/O.

Parameters:
name : str

The name of the index to prewarm.