소스 검색

fix: a failed index to be marked as created (#25290)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
tags/2.0.0-beta.2^2
NeatGuyCoding 1 개월 전
부모
커밋
afa7228076
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      api/core/rag/datasource/vdb/matrixone/matrixone_vector.py

+ 1
- 1
api/core/rag/datasource/vdb/matrixone/matrixone_vector.py 파일 보기

@@ -99,9 +99,9 @@ class MatrixoneVector(BaseVector):
return client
try:
client.create_full_text_index()
redis_client.set(collection_exist_cache_key, 1, ex=3600)
except Exception:
logger.exception("Failed to create full text index")
redis_client.set(collection_exist_cache_key, 1, ex=3600)
return client

def add_texts(self, documents: list[Document], embeddings: list[list[float]], **kwargs):

Loading…
취소
저장