tryLoadCachedIndex method

Future<bool> tryLoadCachedIndex()

Try to load a cached HNSW index.

Use this at startup to skip the expensive rebuildIndex step. Returns true if an index was successfully loaded from disk.

Implementation

Future<bool> tryLoadCachedIndex() => _engine!.tryLoadCachedIndex();