From ce1c4863ee233825e7a9dde7bea080cfae59028a Mon Sep 17 00:00:00 2001 From: nkanaev Date: Sat, 20 Jun 2026 15:08:05 +0100 Subject: [PATCH] generic search without English stemming --- src/storage/postgres/item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/postgres/item.go b/src/storage/postgres/item.go index 560d452..4fc41af 100644 --- a/src/storage/postgres/item.go +++ b/src/storage/postgres/item.go @@ -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, " & ")) }