generic search without English stemming

This commit is contained in:
nkanaev
2026-06-20 15:08:05 +01:00
parent e7004bbd29
commit ce1c4863ee

View File

@@ -121,7 +121,7 @@ func listQueryPredicate(filter model.ItemFilter, newestFirst bool) (string, []an
}
cond = append(cond, fmt.Sprintf(
"i.search @@ to_tsquery('english', $%d)", next(),
"i.search @@ to_tsquery('simple', $%d)", next(),
))
args = append(args, strings.Join(terms, " & "))
}