Skip to main content.
home | support | download

Back to List Archive

Re: swish-e search difficulties

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue May 11 2004 - 19:59:43 GMT
Just to be clear,  put your subject in <title> tags, and then in the
swish config:

  MetaNames swishtitle

will cause the title text to *also* be indexed under a separate metaname
"swishtitle".

Then -w foo will search <body> and <title> and -w swishtitle=(foo) will
search just the title.

You can't search only <body> in that setup, though.  If you want to do
that then you will need to go back to using <meta> tags and then create
a group in swish.cgi to search both swishdefault and swishtitle when
searching for both.  Swish.cgi does that by creating a query like:

   -w swishdefault=(foo) OR swishtitle=(foo)

Is that clear?


-- 
Bill Moseley
moseley@hank.org
Received on Tue May 11 12:59:44 2004