On Tue, May 31, 2011 at 16:21, Kevin Grittner <kevin.gritt...@wicourts.gov> wrote: > "k...@rice.edu" <k...@rice.edu> wrote: > >> maybe we can do some tweaking our search engine to improve it. > > A custom dictionary to carefully add a few synonyms might go a long > way. I often need to try a number of permutations of likely words > to get relevant hits.
If you can provide one, please do :-) Right now, all we have is: postgres postgres postgresql postgres pgsql postgres pg postgres postgre postgres > Including the subject line in searches, with a higher weight than > message body text, would also be great. We already do this - we set them to class "A" with setweight(). > Possibly it would help to be able to search on From or To fields > (including CC in the To). Sometimes you have some recollection who > participated in a discussion, but can't find the magic terms to get > a small result set which includes the right discussion. This we don't do -w e store the From field, but we don't index it. And we don't do anything with the To field. So that's certainly something we could add. > I really think some pretty minor tweaks in these areas would go a > very long way toward making the archive searches more useful. Any patches are definitely welcome - you can find the search system at https://pgweb.postgresql.org/browser/trunk/portal/tools/search :-) (for the archives, you're probably most interested in classes/ArchiveIndexer.class.php and the sql/functions.sql file) -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers