瀏覽代碼

feat: optimize index_struct copy (#442)

tags/0.3.6
John Wang 2 年之前
父節點
當前提交
cad1532f7c
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      api/core/index/vector_index/base.py

+ 1
- 1
api/core/index/vector_index/base.py 查看文件



documents.append(document) documents.append(document)


origin_index_struct = self.dataset.index_struct
origin_index_struct = self.dataset.index_struct[:]
self.dataset.index_struct = None self.dataset.index_struct = None


if documents: if documents:

Loading…
取消
儲存