From c6529cf62e2ddf29ddb6c941e53f3ae13ad0c958 Mon Sep 17 00:00:00 2001 From: Sanket Kedia Date: Wed, 13 Nov 2024 22:40:03 -0800 Subject: [PATCH] Review comments --- rust/index/src/hnsw.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/rust/index/src/hnsw.rs b/rust/index/src/hnsw.rs index 23b5feb5dc5..e97b04a28fe 100644 --- a/rust/index/src/hnsw.rs +++ b/rust/index/src/hnsw.rs @@ -51,17 +51,6 @@ impl ChromaError for HnswIndexFromSegmentError { } impl HnswIndexConfig { - pub fn new_default() -> Self { - HnswIndexConfig { - max_elements: DEFAULT_MAX_ELEMENTS, - m: DEFAULT_HNSW_M, - ef_construction: DEFAULT_HNSW_EF_CONSTRUCTION, - ef_search: DEFAULT_HNSW_EF_SEARCH, - random_seed: 0, - persist_path: "".to_string(), - } - } - pub fn new( m: usize, ef_construction: usize,