π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
revert back to view on index
laurenspriemb7b91631f6ab
diff --git a/mobile/apps/photos/rust/src/api/usearch_api.rs b/mobile/apps/photos/rust/src/api/usearch_api.rsindex 542c808515..395f93b04d 100644--- a/mobile/apps/photos/rust/src/api/usearch_api.rs+++ b/mobile/apps/photos/rust/src/api/usearch_api.rs@@ -32,8 +32,8 @@ impl VectorDB {if file_exists {println!("Loading index from disk.");- // Loads the index into memory. https://docs.rs/usearch/latest/usearch/struct.Index.html#method.load- db.index.load(file_path).expect("Failed to load index");+ // Use view to not load the index into memory. https://docs.rs/usearch/latest/usearch/struct.Index.html#method.view+ db.index.view(file_path).expect("Failed to load index");} else {println!("Creating new index.");db.save_index();