mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-11 11:57:12 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue