From: Jim <li...@yg...> - 2005-03-04 04:54:34
|
On Mon, 28 Feb 2005, Andrew DeFaria wrote: > searching for the string "gcc" yields: > > Search results for '(gcc or 01gcc or 0asrcgcc or 0asrcgccexpr or 0gcc31 or > 0gcc31patch or 0xpccgcc or 10asrcgcc or 10asrcgccexp or 112gcc or 112gcccp or > 112gcccpinit or 112origgcc or 112origgcccp or 11bingcc or 11libgcc or > 11libgccl or 11libgcclib or 11libgcclibd or 11libgcclibh or 11libgcclo2 or > 12gcc or 12gcccp or 12gcccpinit or 12gcccpinitc or 12origgcc)' > > Where'd all that stuff like "112origgcccp" come from? And how can I turn off > this ugly search string but still allow substring searches? The list of terms reflects all terms in the database that contain the substring 'gcc'. In theory all of those terms occur somewhere in your document collection (some might be due to pieces being concatenated after dropping punctuation). The easiest way to get rid of the expanded list of terms is to edit your header template. The offending variable is LOGICAL_WORDS. You could simply remove the variable and associated text if you don't want any summary of the search terms. Or you might try replacing it with WORDS, which should result in the display of only the terms entered in the search field. See http://www.htdig.org/hts_templates.html for more on the templates. Jim |