Update search tweaks, the third

no truncation pls
This commit is contained in:
Oneric 2026-04-26 00:00:00 +00:00
commit ed201717b4

View file

@ -2849,7 +2849,7 @@ index 6bfdd4c893..f2aec33321 100644
+ search_rank:
+ fragment(
+ """
+ length(?) / length(?) +
+ length(?) / length(?)::float +
+ CASE
+ WHEN ? = ? THEN 1.0
+ WHEN starts_with(LOWER(?) COLLATE "C", LOWER(?::text) COLLATE "C" || '@') THEN 0.5