Fix:OSConnection.create_idx 4 arguments (#12862)

### What problem does this PR solve?

https://github.com/infiniflow/ragflow/issues/12858

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Stephen Hu
2026-01-28 12:41:01 +08:00
committed by GitHub
parent fe99905a2b
commit 3a8c848af5

View File

@ -91,7 +91,7 @@ class OSConnection(DocStoreConnection):
Table operations
"""
def create_idx(self, indexName: str, knowledgebaseId: str, vectorSize: int):
def create_idx(self, indexName: str, knowledgebaseId: str, vectorSize: int, parser_id: str = None):
if self.index_exist(indexName, knowledgebaseId):
return True
try: