Files
galaxy/test/unit/util
mvdbeek ac5d7753b6 Drop short / excess raw terms in index-search parser
ILIKE '%term%' on unindexed columns is linear in table size, so every raw
term in a whitespace-split search string is one full scan. Terms shorter
than 4 characters ('of', 'and', 'by', ...) match too much to be useful
and, once joined with all the others, dominate query time. Cap raw
terms at 7 and drop any shorter than 4; filtered terms (tag:foo) and
quoted raw terms ('ab') are preserved as explicit user intent.
2026-04-27 15:40:14 +02:00
..
2022-02-03 07:42:20 -05:00
2025-04-02 16:24:43 +02:00
2026-01-20 10:25:45 +00:00
2022-02-03 07:42:20 -05:00