From 3a8c848af574bb4308443479588d85d14d8c9ab9 Mon Sep 17 00:00:00 2001 From: Stephen Hu <812791840@qq.com> Date: Wed, 28 Jan 2026 12:41:01 +0800 Subject: [PATCH] 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) --- rag/utils/opensearch_conn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rag/utils/opensearch_conn.py b/rag/utils/opensearch_conn.py index 2e730829b..269948f80 100644 --- a/rag/utils/opensearch_conn.py +++ b/rag/utils/opensearch_conn.py @@ -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: