From 6599935e282d7ba55857635c636ed1da8290bb40 Mon Sep 17 00:00:00 2001 From: avi Date: Tue, 15 Sep 2026 12:46:18 -0500 Subject: [PATCH] Config: drop unused search_backend knob Nothing read it; services/search.py already picks SQLite vs Postgres by dialect. The 'postgres_fts' default was a leftover from the server-era config and only invited confusion. --- backend/shonar/core/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/shonar/core/config.py b/backend/shonar/core/config.py index 89e68a4..9f69a6c 100644 --- a/backend/shonar/core/config.py +++ b/backend/shonar/core/config.py @@ -90,8 +90,9 @@ class Settings(BaseSettings): llm_base_url: str = "" llm_api_key: str = Field(default="", repr=False) - # --- Search --------------------------------------------------------- - search_backend: str = "postgres_fts" # postgres_fts (meilisearch: TODO) + # Search needs no setting: services/search.py picks its path by SQL + # dialect (SQLite substring scan / Postgres tsvector). A Meilisearch or + # OpenSearch backend would replace that module, not add a config knob. # --- Retention -------------------------------------------------------- # Grace window before the sweep hard-deletes soft-deleted recordings