Testys commited on
Commit
29bdbcf
·
1 Parent(s): e88795e

Update search_utils.py

Browse files
Files changed (1) hide show
  1. search_utils.py +1 -1
search_utils.py CHANGED
@@ -272,7 +272,7 @@ class SemanticSearch:
272
  except Exception as e:
273
  self.logger.error(f"Error loading index {shard_path}: {str(e)}")
274
  self.total_vectors = sum(self.shard_sizes)
275
- self.logger.info(f"Total loaded vectors: {aelf.total_vectors} across {len(self.index_shards)} shards")
276
  self.cumulative_offsets = np.cumsum([0] + self.shard_sizes)
277
 
278
  def _load_single_index(self, shard_path):
 
272
  except Exception as e:
273
  self.logger.error(f"Error loading index {shard_path}: {str(e)}")
274
  self.total_vectors = sum(self.shard_sizes)
275
+ self.logger.info(f"Total loaded vectors: {self.total_vectors} across {len(self.index_shards)} shards")
276
  self.cumulative_offsets = np.cumsum([0] + self.shard_sizes)
277
 
278
  def _load_single_index(self, shard_path):