From 07a610f20a295df25ea4828047d891c648a713ea Mon Sep 17 00:00:00 2001 From: johnbean393 Date: Fri, 31 May 2024 13:40:02 +0800 Subject: [PATCH] Removed print statements. --- Sources/SimilaritySearchKit/Core/Index/SimilarityIndex.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/SimilaritySearchKit/Core/Index/SimilarityIndex.swift b/Sources/SimilaritySearchKit/Core/Index/SimilarityIndex.swift index ca021e5..643d3bf 100644 --- a/Sources/SimilaritySearchKit/Core/Index/SimilarityIndex.swift +++ b/Sources/SimilaritySearchKit/Core/Index/SimilarityIndex.swift @@ -332,7 +332,6 @@ extension SimilarityIndex { let savedVectorStore = try vectorStore.saveIndex(items: indexItems, to: basePath, as: indexName) - print("Saved \(indexItems.count) index items to \(savedVectorStore.absoluteString)") return savedVectorStore } @@ -340,7 +339,6 @@ extension SimilarityIndex { public func loadIndex(fromDirectory path: URL? = nil, name: String? = nil) throws -> [IndexItem]? { if let indexPath = try getIndexPath(fromDirectory: path, name: name) { indexItems = try vectorStore.loadIndex(from: indexPath) - print("Loaded \(indexItems.count) index items from \(indexPath.absoluteString)") return indexItems }