From: Jeroen van Wolffelaar Date: Thu, 2 Feb 2006 01:35:20 +0000 (+0000) Subject: First version of TODO listing items to think about X-Git-Tag: switch-to-templates~204 X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=commitdiff_plain;h=fcdd03b487a852fead30b5f9f6d25f8c36d5c5c2 First version of TODO listing items to think about --- diff --git a/TODO b/TODO new file mode 100644 index 0000000..2570d72 --- /dev/null +++ b/TODO @@ -0,0 +1,21 @@ +search_packages.pl: +- all searches: + - Display "$pkg ($section) shortdesc from stable (or if not available, testing, unstable, ...)" + tersely on one line each, with "#foo" links to what's currently displayed. + - The 'extended' can maybe also have full descriptions then (maybe add did + to _small.db?) +- exact package searches +- substring searches on packages: + - don't do exact lookups, but use '^' prefix token + - only do for >= 2 characters + - don't allow whitespace in it, warn when people use common wildcards like + *, ?, ^, $ (not possible) + - When overflow, iterate the first couple of packages that *start* with the + substring, if any? Maybe list those first, and only then real substring + search? + - In db, add "abc: too many matches" to postfixes when there's a "abcd: 90 + matches" and abce: 90 matches" + +- fulltext search: + - Max 100 results + - Better exact=1 performance by indexing per word?