mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-18 07:30:29 +00:00
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.
This commit is contained in:
parent
647aaf1d21
commit
01cb20817c
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user