mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 19:06:51 +08:00
feat: optimize index_struct copy (#442)
This commit is contained in:
@@ -157,7 +157,7 @@ class BaseVectorIndex(BaseIndex):
|
||||
|
||||
documents.append(document)
|
||||
|
||||
origin_index_struct = self.dataset.index_struct
|
||||
origin_index_struct = self.dataset.index_struct[:]
|
||||
self.dataset.index_struct = None
|
||||
|
||||
if documents:
|
||||
|
||||
Reference in New Issue
Block a user