From 01cb20817c5889177eecb8231f3b82fa9f5f25df Mon Sep 17 00:00:00 2001 From: Deluan Date: Sat, 5 Sep 2026 01:55:56 -0400 Subject: [PATCH] fix(pglite): default the search backend to legacy The fts backend needs SQLite's FTS5 virtual tables; on this branch any search returned 'syntax error at or near MATCH'. The LIKE backend works unchanged on PostgreSQL. --- conf/configuration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/configuration.go b/conf/configuration.go index bb129a86d..e1b440695 100644 --- a/conf/configuration.go +++ b/conf/configuration.go @@ -998,7 +998,7 @@ func setViperDefaults() { viper.SetDefault("autotranscodedownload", false) viper.SetDefault("defaultdownsamplingformat", consts.DefaultDownsamplingFormat) viper.SetDefault("search.fullstring", false) - viper.SetDefault("search.backend", "fts") + viper.SetDefault("search.backend", "legacy") // FTS5 is SQLite-only; the LIKE backend works on PostgreSQL viper.SetDefault("matcher.preferstarred", true) viper.SetDefault("matcher.fuzzythreshold", 85) viper.SetDefault("recentlyaddedbymodtime", false)