소스 검색

feat: optimize index_struct copy (#442)

tags/0.3.6
John Wang 2 년 전
부모
커밋
cad1532f7c
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      api/core/index/vector_index/base.py

+ 1
- 1
api/core/index/vector_index/base.py 파일 보기

@@ -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:

Loading…
취소
저장