From 57f7bb108492b45a404d2452bc244849824798a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=A4=A7=E6=B4=8B?= <714403855@qq.com> Date: Thu, 5 Mar 2026 20:58:43 +0800 Subject: [PATCH] feat:optimize search_by_fulltext --- src/memos/graph_dbs/polardb.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/memos/graph_dbs/polardb.py b/src/memos/graph_dbs/polardb.py index 21db8a47d..6a0be0d32 100644 --- a/src/memos/graph_dbs/polardb.py +++ b/src/memos/graph_dbs/polardb.py @@ -1777,7 +1777,6 @@ def search_by_fulltext( ) where_clause_cte = f"WHERE {' AND '.join(where_with_q)}" if where_with_q else "" query = f""" - /*+ Set(max_parallel_workers_per_gather 0) */ WITH q AS (SELECT to_tsquery('{tsquery_config}', %s) AS fq) SELECT {select_cols} FROM "{self.db_name}_graph"."Memory" m