mirror of
https://github.com/nkanaev/yarr.git
synced 2026-06-24 09:05:16 +00:00
generic search without English stemming
This commit is contained in:
@@ -121,7 +121,7 @@ func listQueryPredicate(filter model.ItemFilter, newestFirst bool) (string, []an
|
|||||||
}
|
}
|
||||||
|
|
||||||
cond = append(cond, fmt.Sprintf(
|
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, " & "))
|
args = append(args, strings.Join(terms, " & "))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user