Files
docmost/apps/server/src/core
Philipinho 18222d1142 fix(base): escalate fuzzy filter and search counts to capped-exact
Postgres has no per-expression stats for `cells->>'uuid' ILIKE '%…%'`,
`search_text ILIKE`, or `search_tsv @@`, so EXPLAIN Plan Rows falls
back to a default selectivity and is off by orders of magnitude — a
contains filter on a 10k-row base was reporting ~150 against thousands
of real matches. Auto-route any request whose filter tree contains a
contains/ncontains/startsWith/endsWith op or a search term to the
capped-exact path, even when the caller asked for an estimate.
2026-04-25 01:05:02 +01:00
..
2026-04-17 13:48:49 +01:00
2026-04-14 16:26:54 +01:00
2026-03-08 01:57:17 +00:00
2026-03-28 19:32:52 +00:00
2026-04-12 22:06:25 +01:00
fix
2026-03-17 14:28:22 +00:00
2026-03-15 22:05:32 +00:00
2026-04-12 22:06:25 +01:00
2026-04-13 23:34:40 +01:00
2026-04-12 22:06:25 +01:00
2026-04-17 13:48:49 +01:00